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

                 Summary: Second genlist cleanup and extension
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: lundi 25.10.2010 à 18:28
                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:

As some functions like genlist_remove() are really inefficient on big lists
(all functions doing linear research), add some functions, mostly to give
more important to the genlist_link structure.

Features:
* added genlist_insert_after()
* added genlist_insert_before()
* added genlist_remove_if()
* added genlist_remove_all()
* added genlist_remove_all_if()
* added genlist_erase()
* added genlist_pop_front()
* added genlist_pop_back()
* added genlist_front()
* added genlist_back()
* genlist_search() returns a genlist_link
* added genlist_search_if()
* added genlist_reverse()
* added genlist_link()
* made genlist_append() more efficient
* made genlist_prepend() more efficient




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: lundi 25.10.2010 à 18:28  Name: 0001-New-genlist-features.patch  Size:
34 ko   By: pepeto

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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