URL:
http://gna.org/patch/?4702
Summary: Reduce the number of calls to priority queue
functions
Project: Freeciv
Submitted by: pepeto
Submitted on: Sun 18 May 2014 11:15:32 PM CEST
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.6.0
___
Details:
Try to prefer pq_replace() to reduce the much calls to pq_remove(). After the
patch applied, the tiles index should be only listed once.
Note that it can modify autogames because the order in the priority queue
could be slightly different (for paths of same cost).
___
File Attachments:
---
Date: Sun 18 May 2014 11:15:32 PM CEST Name: pf_pq_replace.patch Size: 10kB
By: pepeto
http://gna.org/patch/download.php?file_id=20761
___
Reply to this item at:
http://gna.org/patch/?4702
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev