[Freeciv-Dev] Re: Map coordinate cleanups.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 16 Aug 2001, Kevin Brown wrote:
> Jason Dorje Short <jshort@xxxxxxxxxxxxx> wrote:
> > I think any benefit players may get from extra speed is more than
> > negated by the extra work developers have to do to use a macro for these
> > functions. Thus I agree that there is no _good_ reason to make it a
> > macro.
> >
> > In summary, I don't think these functions should be made macros.
> > Efficiency must be balanced with code cleanliness.
>
> In any case, efficiency is often made up for by Moore's Law, while
> code cleanliness isn't. :-)
I suggest you delve a bit more in this problem. Function calls don't have
a habbit of getting much faster. Besides, compilers can't optimize
functions as well as inlined code.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: Map coordinate cleanups., (continued)
- [Freeciv-Dev] Re: Map coordinate cleanups., Gaute B Strokkenes, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Gregory Berkolaiko, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Ross W. Wetmore, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Ross W. Wetmore, 2001/08/17
[Freeciv-Dev] Re: Map coordinate cleanups., Gaute B Strokkenes, 2001/08/16
- [Freeciv-Dev] Re: Map coordinate cleanups., Jason Dorje Short, 2001/08/16
- [Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/16
- [Freeciv-Dev] Re: Map coordinate cleanups.,
Vasco Alexandre Da Silva Costa <=
- [Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/17
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/17
- [Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/17
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/17
- [Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/17
- [Freeciv-Dev] Re: Map coordinate cleanups., Gaute B Strokkenes, 2001/08/19
[Freeciv-Dev] Re: Map coordinate cleanups., Tony Stuckey, 2001/08/17
[Freeciv-Dev] Re: Map coordinate cleanups., Vasco Alexandre Da Silva Costa, 2001/08/17
[Freeciv-Dev] Re: Map coordinate cleanups., Justin Moore, 2001/08/17
[Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/17
|
|