forked from Mirrorlandia_minetest/minetest
3e50850260
* TileLayer: use shared_ptr for vector framespec This reduce memory copy of TileLayer from (4 to 16) * FrameSpec where FrameSpec = (sizeof(int) + 3 * sizeof(ptr)) to int + sizeof(ptr) Callgrind difference Before: https://lut.im/RGkiJqQb8T/LeQIEXpAuRzfl7gd.png After: https://lut.im/bcqmwee1xu/cTwtptY5tRuS9lp0.png * Fix one push_back to use vector::emplace_back & optimize inclusions |
||
---|---|---|
.. | ||
clientlauncher.cpp | ||
clientlauncher.h | ||
CMakeLists.txt | ||
inputhandler.cpp | ||
inputhandler.h | ||
joystick_controller.cpp | ||
joystick_controller.h | ||
keys.h | ||
renderingengine.cpp | ||
renderingengine.h | ||
tile.cpp | ||
tile.h |