1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00
Files
OpenRCT2/src/openrct2/drawing
Michał Janiszewski 3e4e8bccc5 Pass ImageId by value instead by const-ref
ImageId struct is 8-bytes large and can fit in CPU register. Passing it
by value lets compiler pass it in register instead of forcing to
reference it from memory.

In my tests this brings
[dome park](https://github.com/OpenRCT2/OpenRCT2/files/6134362/dome-export.zip)
benchgfx results from 42.16s down to 41.08s, or by 2.5%.
2022-11-12 00:06:05 +01:00
..
2022-10-01 08:42:14 +01:00
2022-03-24 23:50:39 +00:00
2022-10-10 19:42:40 +01:00
2022-10-01 08:42:14 +01:00
2022-10-01 08:42:14 +01:00
2022-10-01 08:42:14 +01:00
2022-10-01 08:42:14 +01:00
2022-10-01 08:42:14 +01:00