minetest/src/script
Loic Blot 7c8793cbea Performance Improvement: Use a cache which caches result for getFacePositions.
This greatly reduce the number of std::list generated by caching the result, which is always constant for each radius selected.
In the callgrind map, you will see original:
  * 3.3M calls to std::list for 9700 calls to getFacePositions
In the modified version, you will see:
  * 3.3K calls to std::list for 6900 call to getFacePositions
Callgrind map is here: #2321

it's a huge performance improvement to l_find_node_near
2015-02-16 11:27:44 +01:00
..
common Remove freezemelt (the remainder of proller nonsense) 2015-01-04 03:30:10 -05:00
cpp_api Performance fixes. 2015-01-13 23:48:56 +10:00
lua_api Performance Improvement: Use a cache which caches result for getFacePositions. 2015-02-16 11:27:44 +01:00
CMakeLists.txt Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
scripting_game.cpp Use "core" namespace internally 2014-05-08 13:02:04 -04:00
scripting_game.h Add proper lua api deprecated handling 2014-04-29 22:49:04 +02:00
scripting_mainmenu.cpp Use "core" namespace internally 2014-05-08 13:02:04 -04:00
scripting_mainmenu.h Fix code style of async API 2014-04-27 16:15:53 -04:00