Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9869) Bug: DDEBUG changes savegames
Home

[Freeciv-Dev] Re: (PR#9869) Bug: DDEBUG changes savegames

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9869) Bug: DDEBUG changes savegames
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 29 Aug 2004 21:51:26 -0700
Reply-to: rt@xxxxxxxxxxx

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

Gregory Berkolaiko wrote:

> I am not sure which is the better way to fix this: do temporary
> assignments inside index_to* functions or do it in the caller.  The first
> way might give more work to compiler (optimizing), the second will give
> more work to us (reviewing all uses).

We can't do temporary assignments unless we make it an inline function. 
  Changing the users is fine but we also have to rename it as 
INDEX_TO_MAP_POS.  I would prefer the former but either is fine.

jason




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