[Freeciv-Dev] Re: (PR#2370) Path finding
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
- [Freeciv-Dev] Agents and network (Was (for reasons unnown): Path findig), (continued)
- [Freeciv-Dev] Agents and network (Was (for reasons unnown): Path findig), Gregory Berkolaiko, 2002/11/26
- [Freeciv-Dev] Re: Agents and network (Was (for reasons unnown): Path findig), Raimar Falke, 2002/11/26
- [Freeciv-Dev] Re: Agents and network (Was (for reasons unnown): Path findig), Gregory Berkolaiko, 2002/11/26
- [Freeciv-Dev] Re: Agents and network (Was (for reasons unnown): Path findig), Raimar Falke, 2002/11/26
- [Freeciv-Dev] Re: Agents and network, Christian Knoke, 2002/11/27
- [Freeciv-Dev] Re: (PR#2370) Path finding, Raimar Falke via RT, 2002/11/26
[Freeciv-Dev] Re: (PR#2370) Path finding, Gregory Berkolaiko via RT, 2002/11/24
[Freeciv-Dev] Re: (PR#2370) Path finding, Gregory Berkolaiko via RT, 2002/11/24
[Freeciv-Dev] Re: (PR#2370) Path finding,
Gregory Berkolaiko via RT <=
[Freeciv-Dev] Re: (PR#2370) Path finding, Gregory Berkolaiko via RT, 2002/11/25
|
|