[Freeciv-Dev] [patch #4678] tile_index() as macro

2014-05-06 Thread Marko Lindqvist
Update of patch #4678 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?4678

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #4678] tile_index() as macro

2014-04-28 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?4678

 Summary: tile_index() as macro
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 29 Apr 2014 03:12:42 AM EEST
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.3, 2.5.0, 2.6.0

___

Details:

Replace tile_index() function calls with a macro. As it's one of the most
often called functions, avoiding its function call overhead has significant
(but not huge, like with some earlier optimization patches) impact on
performance.

Interestingly the function itself was already surronded by #ifndef
tile_index ... #endif to check that it's not implemented as macro.



___

File Attachments:


---
Date: Tue 29 Apr 2014 03:12:42 AM EEST  Name: TileIndexMacro.patch  Size: 386B
  By: cazfi

http://gna.org/patch/download.php?file_id=20613

___

Reply to this item at:

  http://gna.org/patch/?4678

___
  Message sent via/by Gna!
  http://gna.org/


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