Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7293) Performance of Freeciv
Home

[Freeciv-Dev] Re: (PR#7293) Performance of Freeciv

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7293) Performance of Freeciv
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Fri, 23 Jan 2004 22:36:32 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Fri, Jan 23, 2004 at 10:59:03AM -0800, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7293 >
> 
> Please try this patch.  It queues individual tile updates.  Should be
> much faster in the slow cases.  It may be slower in the fast cases, however.

This was not the patch I had in mind. The idea was that every call of
update_map_canvas queues the rectangle in a struct in a list. At the
flush point (looks like this is flush_dirty) you clean this list of
queued areas. You do this by removing any areas which are inside other
areas. The remaining areas of the list are drawn with the code of the
current update_map_canvas.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The Internet is really just a series of bottlenecks 
  joined by high speed networks."
    -- Sam Wilson




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