URL:
  <http://gna.org/patch/?1397>

                 Summary: Registry speed up
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: samedi 02.01.2010 à 11:43
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: pepeto
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.3.0

    _______________________________________________________

Details:

In current trunk/, calling secfile_load() is sometimes very slow.  This is
due to my previous patch #1378.  It now checks if the new entries duplicates
the names of former ones, which make the analysis of the file very slow. 
That behaviour is fixed.

Also included in this patch:
* '[' and ']' are allowed entry names (used in the client side).
* secfile_lookup_xxx_default() never changes the error string when the entry
doesn't exist, it's a normal behaviour.
* Moved the boolean test at the end of entry_from_token().




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: samedi 02.01.2010 à 11:43  Name: trunk_registry_speedup.diff  Size: 3
ko   By: pepeto

<http://gna.org/patch/download.php?file_id=7587>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1397>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to