mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
e8ac5a31cf
* Optimize getObjectsInsideRadius calls our previous implementation calls the ActiveObjectMgr to return ids and then lookup those ids in the same map and test each object Instead now we call the global map to return the pointers directly and we ask filtering when building the list using lamba. This drop double looping over ranges of active objects (and then filtered one) and drop x lookups on the map regarding the first call results |
||
---|---|---|
.. | ||
activeobjectmgr.cpp | ||
activeobjectmgr.h | ||
CMakeLists.txt | ||
luaentity_sao.cpp | ||
luaentity_sao.h | ||
mods.cpp | ||
mods.h | ||
player_sao.cpp | ||
player_sao.h | ||
serveractiveobject.cpp | ||
serveractiveobject.h | ||
unit_sao.cpp | ||
unit_sao.h |