[Freeciv-Dev] (PR#12834) amortize()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12834 >
I noticed that the amortize() function uses a very
clever, but complicated, algorithm. The reason
apparently is to save time. If that is the purpose,
why not use a more transparent, but slower algorithm,
and use it to make a lookup table? Normal calls to
amorize could just be reading an element from a 20- or
100-element integer array, which would be faster than
what is there now.
__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#12834) amortize(),
Brian Dunstan <=
|
|