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: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] [RFC] Path finding version 14
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Mon, 16 Sep 2002 21:58:28 +0200

On Mon, Sep 16, 2002 at 08:28:20PM +0100, Gregory Berkolaiko wrote:
> 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?

No I tested it here ;)

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

Mhh but these are only simple increments.

> > > 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?

Yes I need a new one till Oct 1.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "These download files are in Microsoft Word 6.0 format. After
  unzipping, these files can be viewed in any text editor, including
  all versions of Microsoft Word, WordPad, and Microsoft Word Viewer."
    -- http://www.microsoft.com/hwdev/pc99.htm


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