minetest/src/server
Loïc Blot e8ac5a31cf
Optimize get_objects_inside_radius calls (#9671)
* 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
2020-04-16 08:25:48 +02:00
..
activeobjectmgr.cpp Optimize get_objects_inside_radius calls (#9671) 2020-04-16 08:25:48 +02:00
activeobjectmgr.h Optimize get_objects_inside_radius calls (#9671) 2020-04-16 08:25:48 +02:00
CMakeLists.txt Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
luaentity_sao.cpp Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
luaentity_sao.h Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
mods.cpp Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
mods.h Add online content repository 2018-04-19 20:14:53 +01:00
player_sao.cpp Move PlayerSAO to dedicated files 2020-04-11 16:07:17 +02:00
player_sao.h Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
serveractiveobject.cpp Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
serveractiveobject.h Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
unit_sao.cpp Move PlayerSAO to dedicated files 2020-04-11 16:07:17 +02:00
unit_sao.h pass clang-format 2020-04-11 16:07:17 +02:00