[Freeciv-Dev] Re: (PR#7279) Macro optimizations
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7279 >
The below questions are asked in the "naive curiosity" tone as opposed to
the "sarcastic animosity" tone used previously (I feel) in this thread.
On Mon, 26 Jan 2004, rwetmore@xxxxxxxxxxxx wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7279 >
>
> Clearly Jason stated he tried adding local variable caching to the
> macro and found a problem.
So is there a macro solution to this problem?
> Fact: there is there is a poor coding practice in the hmap() usage that
> is being hidden again by use of the inline function. There is a new
> patch that is going to propagate this practice as hnat(). It needs to
> be fixed properly and documented to prevent this from continuing.
What is wrong with hmap other than it's a global variable?
Anyway, I see no problem with propagating this into hnat, since whoever
will fix whatever is wrong with hmap can easily extend his fix to hnat.
G.
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, (continued)
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, rwetmore@xxxxxxxxxxxx, 2004/01/21
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, Jason Short, 2004/01/22
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, Jason Short, 2004/01/22
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, Arnstein Lindgard, 2004/01/22
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, rwetmore@xxxxxxxxxxxx, 2004/01/23
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, Arnstein Lindgard, 2004/01/25
- [Freeciv-Dev] Re: (PR#7279) Inline/Macro optimizations, Arnstein Lindgard, 2004/01/25
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, rwetmore@xxxxxxxxxxxx, 2004/01/26
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations, rwetmore@xxxxxxxxxxxx, 2004/01/26
[Freeciv-Dev] Re: (PR#7279) Macro optimizations, Raimar Falke, 2004/01/27
- [Freeciv-Dev] Re: (PR#7279) Macro optimizations,
Gregory Berkolaiko <=
|
|