[Freeciv-Dev] Re: chance of winning a battle
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 15 Jul 2001, Gregory.Berkolaiko@xxxxxxxxxxxxxx wrote:
>
> 1. As written in a comment in common/combat.c, win_chance gets
> insanely small when units are unevenly matched. And as noted by
> Trent, it takes considerable time to calculate win_chance (and I
> could not find any way to improve on his algorithm).
Has anyone done any profiling to make sure that this is the case, and
if so would they like to share the results with the rest of us?
It's futile to try come up with improvements unless you _know_ that
it's a bottleneck.
If anyone feels like trying, the gprof and gcc info nodes are great
places to find out how.
--
Big Gaute http://www.srcf.ucam.org/~gs234/
..I just walked into th' HOUSE OF REPRESENTATIVES with fourteen WET
DOLPHINS and an out-of-date MARRIAGE MANUAL...
- [Freeciv-Dev] Re: Patch correcting win_cnace, (continued)
- [Freeciv-Dev] Re: Patch correcting win_cnace, Gaute B Strokkenes, 2001/07/22
- [Freeciv-Dev] Re: Patch correcting win_cnace, Thue, 2001/07/22
- [Freeciv-Dev] Re: Patch correcting win_cnace, Gregory Berkolaiko, 2001/07/20
- [Freeciv-Dev] Re: Patch correcting win_cnace, Thue, 2001/07/20
- [Freeciv-Dev] Re: chance of winning a battle, Christian Knoke, 2001/07/15
- [Freeciv-Dev] Re: chance of winning a battle, Christian Knoke, 2001/07/15
- [Freeciv-Dev] Re: chance of winning a battle,
Gaute B Strokkenes <=
- [Freeciv-Dev] Re: chance of winning a battle, Gregory Berkolaiko, 2001/07/21
- [Freeciv-Dev] Re: chance of winning a battle, Gaute B Strokkenes, 2001/07/22
- [Freeciv-Dev] Re: chance of winning a battle, Trent Piepho, 2001/07/16
- [Freeciv-Dev] Re: chance of winning a battle, Gregory Berkolaiko, 2001/07/19
- [Freeciv-Dev] Re: chance of winning a battle, Thue, 2001/07/19
- [Freeciv-Dev] Re: chance of winning a battle, Erik Sigra, 2001/07/19
- [Freeciv-Dev] Re: chance of winning a battle, Trent Piepho, 2001/07/12
[Freeciv-Dev] Re: chance of winning a battle, Gregory Berkolaiko, 2001/07/12
[Freeciv-Dev] Re: chance of winning a battle, Daniel Speyer, 2001/07/12
|
|