Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] Re: (PR#6283) New path-finding structure: punit->pf
Home

[Freeciv-Dev] Re: (PR#6283) New path-finding structure: punit->pf

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6283) New path-finding structure: punit->pf
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Sep 2003 12:50:41 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, Sep 25, 2003 at 10:16:44AM -0700, Per I. Mathisen wrote:
> 
> The big "but" with this patch is memory usage. We keep pf maps in memory
> for all AI units at all times. For a very large game, this can easily
> double the size of civserver, from 15mb to 30mb on my computer. I think
> this is acceptable.

yeah, this is a big but. And I'm not so sure that this is acceptable. Is
there an alternative? Would it be sufficiently clean to have a
--enable-bigmem switch to use faster and/or better (AI-smartness-wise) with
a fallback to slower routines for machines with smaller memory?

-mike



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