Skip to content

Reduce a bit the size of getHT

jvoisin requested to merge jvoisin/openmw:size into master

Factoring common code parts outside of a template is apparently a good practise to reduce code duplication (and the size of openmw by around 0.5%), and should improve a bit the performances, since the whole std::to_string * 2 + string concatenation dance results in quite a lot of code, preventing inlining on my machine.

Edited by jvoisin

Merge request reports