Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] Re: (PR#3782) Small clean of flush region callculation in
Home

[Freeciv-Dev] Re: (PR#3782) Small clean of flush region callculation in

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#3782) Small clean of flush region callculation in update_mapcanvas(...)
From: "Rafa³ Bursig" <bursig@xxxxxxxxx>
Date: Mon, 24 Mar 2003 10:04:04 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Dnia 2003.03.24 18:44 Jason Short napisa³(a):
> On Mon, 2003-03-24 at 12:21, Rafa?? Bursig wrote:
> >
> > Hi
> >
> > This code check if we refresh only one tile and make simple dirty
> > region calculation in update_mapcanvas(...)
> 
> What is the advantage of this?  It doesn't change the behavior.  Is it
> supposed to just be faster?
> 
Yes effect is the same ( and should be the same ) but you don't make 3 
x "*" and 4 x "/" operations.

Rafal

----------------------------------------------------------------------
Kochasz pilke nozna? Zagraj i wygraj! >>> http://link.interia.pl/f16fa 





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