Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #905312

Make city_tile() a macro

Added by Marko Lindqvist 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

It's called from time-critical functions and as a simple accessor there's no point in having function call overhead. Also makes it possible for the compiler to use pcity->tile value already in a register.

0045-Make-city_tile-a-macro.patch (1.64 KB) 0045-Make-city_tile-a-macro.patch master Marko Lindqvist, 2020-12-11 12:20 PM
0023-Make-city_tile-a-macro.patch (1.65 KB) 0023-Make-city_tile-a-macro.patch S3_0 Marko Lindqvist, 2020-12-11 12:21 PM
0014-Make-city_tile-a-macro.patch (1.61 KB) 0014-Make-city_tile-a-macro.patch S2_6 Marko Lindqvist, 2020-12-11 12:21 PM

History

#2 Updated by Marko Lindqvist 10 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF