Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2370) Path finding
Home

[Freeciv-Dev] Re: (PR#2370) Path finding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2370) Path finding
From: "Gregory Berkolaiko via RT" <rt@xxxxxxxxxxxxxx>
Date: Sun, 24 Nov 2002 12:29:49 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sun, 24 Nov 2002, Raimar Falke via RT wrote:

> On Sun, Nov 24, 2002 at 12:05:11PM -0800, Gregory Berkolaiko via RT wrote:
> > > > > Fourth: how general/special do we want the queue implementation. If we
> > > > > for example typedef that the queue works on shorts (16bit, less
> > > > > memory) instead of void pointers or int we can get some speed. However
> > > > > this makes the queue not general. Also critical (see point 1) is the
> > > > > inlining of the queue functions.
> > > > 
> > > > I don't believe memory use by queue is significant.  There is also 
> > > > another 
> > > > customer for this queue, airgoto.c, but it also uses ints (can be 
> > > > shorts) 
> > > > right now.
> > > 
> > > Inlining of queue functions?
> > 
> > Yes, it introduces speedup, about 5%
> 
> Hehe. I got you ;). Inlining the queue functions via macros is dead
> ugly.

:)))

But I never said anything against inlining!  You are probably confusing me 
with someone else!

But inlining can only be done within one file, isn't it?

G.





[Prev in Thread] Current Thread [Next in Thread]