Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14
Home

[Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Mon, 16 Sep 2002 20:28:20 +0100 (BST)

On Mon, 16 Sep 2002, Raimar Falke wrote:

> On Mon, Sep 16, 2002 at 07:18:57PM +0100, Gregory Berkolaiko wrote:
> 
> > I thought we agreed that ignore_enemy is the default behaviour and not 
> > ignoring enemy will be done through tile_behaviour.
> 
> Ok but then we need this behaviour in form of a defined callback in
> path_finding_tools.

Sure, such callback should be pre-defined.

> > I don't think one call is so important.  In fact I just added an
> > extra wrapper on top of pf_next and removed some macro-associated
> > cruft from your code.  The results change but not by much, the
> > speedup is still greater than 2.  ZOC will bring it down a bit, but
> > again not significantly.
> 
> So why do you think that you are faster by a factor of two?

Mine is no so hi-tek? ;)
Or maybe I am just lying to you about the speed?

I think you can speed it up by removing lots of stats gathering you seem 
to have around.

> > Compiling without asserts will change it much more, in all
> > likelyhood.  Can you try it please?
> 
> Sorry not much time till I moved.

New semster new flat?

G.




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