mirror of https://github.com/OpenMW/openmw.git
Reduce a bit the size of getHT
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.dont-compose-content
parent
ba3d66503f
commit
5aaac8e47e
Loading…
Reference in New Issue