minetest/src/script
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
..
common Fix parsing JSON with large integers (#9674) 2020-04-15 08:01:28 +02:00
cpp_api Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
lua_api Optimize get_objects_inside_radius calls (#9671) 2020-04-16 08:25:48 +02:00
CMakeLists.txt Rename Scripting API files for consistency 2017-04-25 13:41:36 -04:00
scripting_client.cpp A few initialization cleanups 2020-04-11 13:12:51 +02:00
scripting_client.h A few initialization cleanups 2020-04-11 13:12:51 +02:00
scripting_mainmenu.cpp Add online content repository 2018-04-19 20:14:53 +01:00
scripting_mainmenu.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
scripting_server.cpp Refactor Script API's log_deprecated 2020-02-23 22:24:12 +01:00
scripting_server.h Refactor Script API's log_deprecated 2020-02-23 22:24:12 +01:00