[Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9020 >
Gregory Berkolaiko wrote:
>>2. Use inline instead of macro.
>
> What is the performance gain with inline?
Seems to be about 4%.
>>3. Change all users to use "pfmap" instead of "map".
>
> Is it a hint that the offenders are PF and friends? I have no problem
> about renaming pfmap, in fact, we should do it anyway.
Well, every "map" variable is a pf map.
>>4. Rename global "map" as "civ_map".
>>
>>5. Rename global "map" as "game.map".
>
> Should be done as well.
In theory, yes. But it may be more work than it's worth.
jason
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Per Inge Mathisen, 2004/06/18
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Jason Short, 2004/06/18
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Gregory Berkolaiko, 2004/06/18
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile,
Jason Short <=
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Per Inge Mathisen, 2004/06/18
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Vasco Alexandre da Silva Costa, 2004/06/18
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, rwetmore@xxxxxxxxxxxx, 2004/06/19
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Jason Short, 2004/06/19
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Gregory Berkolaiko, 2004/06/20
- [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile, Jason Short, 2004/06/20
|
|