Complete.Org: Mailing Lists: Archives: freeciv-ai: July 2004:
[freeciv-ai] Re: (PR#6912) Optimize/reimplement CM: per-city caches
Home

[freeciv-ai] Re: (PR#6912) Optimize/reimplement CM: per-city caches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#6912) Optimize/reimplement CM: per-city caches
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 20 Jul 2004 14:04:31 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6912 >

On Tue, 20 Jul 2004, Jason Short wrote:
> > The one hypothetical problem I can see: if someone copies the city and
> > sends in a fake city with the same ID but different other attributes.
> > But I can't think of anything better than city-ID to index by (indexing
> > by memory address has its own problems).
>
> Per, do you think the AI will do this?

I am not sure what you mean by "fake" here. What is the difference here
between "genuine" changes and "fake" changes?

Virtual cities always have an id of zero. Being able to send a virtual
city to CM would be nice.

  - Per




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