URL:
<http://gna.org/patch/?7202>
Summary: S2_5 low-hanging inlines
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 08 May 2016 11:30:32 PM 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.5.5
_______________________________________________________
Details:
For some time I've done all profiling on S2_6 and the optimizations to all
branches are implemented based on those results. Now I profiled S2_5 for a
chance to find out S2_5-specific bottlenecks. A couple of cases where
significant gain can be achieved by simple inlining were found. Attached patch
inlines tile_has_road() and is_native_road_to_uclass().
There's couple more roads related one-liners that are very high in the
profiler list, but the module-internal variables and include orders are
preventing one from easily inlining them.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 08 May 2016 11:30:32 PM EEST Name: S2_5Inlines.patch Size: 5kB
By: cazfi
<http://gna.org/patch/download.php?file_id=27343>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?7202>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev