#1987: Optimize processAVTile -----------------------------------------------------------+---------------- Reporter: cybersphinx | Owner: Type: patch (a actual patch, not a request for one) | Status: new Priority: major | Milestone: unspecified Component: other | Version: svn/2.3 Keywords: | Operating_system: All/Non-Specific Blockedby: | Blocking: -----------------------------------------------------------+---------------- This patch is the result of a bit of profiling (highly optimized 2.3 build), where processAVTile came out on top. Splitting mapTile into a version without boundary checking and calling that inside a for-loop over the map (where by definition we are not outside the map) put processAVTile down into the noise (from ~4% to ~0.4%).
This is for 2.3, haven't looked into trunk yet. -- Ticket URL: <http://developer.wz2100.net/ticket/1987> Warzone 2100 Trac <http://developer.wz2100.net/> The Warzone 2100 Project _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev