Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] [Patch] freeze/thaw functions
Home

[Freeciv-Dev] [Patch] freeze/thaw functions

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [Patch] freeze/thaw functions
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jun 2002 21:02:28 +0200

[ This patch supersedes the disable_cityrep_update_till patches. ]

This is a no longer a proof-of-concept patch but a real one ;)

Based on work at the disable_cityrep_update_till patches it turns out
that the *_update_delay_off/*_update_delay_on don't work because a
nested calling of these has to be supported. So
*_freeze/*_thaw/*_froce_thaw functions are introduced.

The speedup as measured by Christian is impressive.

Besides this the patch is also good for code maintenance since it
moves common code into common files. And removes a shared variable.

Note that currently only the GTK+ client has been fully modified.

        Raimar

P.S.: you need to run autogen.sh

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Only one human captain has ever survived battle with the Minbari
  fleet. He is behind me. You are in front of me. If you value your 
  lives, be somewhere else."
    -- Ambassador Delenn, "Severed Dreams," Babylon 5

Attachment: reports_freeze_till1.diff.gz
Description: GNU Zip compressed data


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