minetest/builtin/game
Auke Kok d7908ee494 Convert nodeupdate to non-recursive
This took me a while to figure out. We no longer visit all 9 block
around and with the touched node, but instead visit adjacent plus
self. We then walk -non- recursively through all neigbors and if
they cause a nodeupdate, we just keep walking until it ends. On
the way back we prune the tail.

I've tested this with 8000+ sand nodes. Video result is here:

  https://youtu.be/liKKgLefhFQ

Took ~ 10 seconds to process and return to normal.
2016-04-11 00:01:28 -04:00
..
auth.lua Faster insertion into table 2016-03-06 23:42:04 +00:00
chatcommands.lua Make `options` local here. 2016-03-24 16:52:26 +01:00
constants.lua
deprecated.lua
detached_inventory.lua
falling.lua Convert nodeupdate to non-recursive 2016-04-11 00:01:28 -04:00
features.lua Add AreaStore custom ID API 2016-03-07 16:33:20 -05:00
forceloading.lua
init.lua
item.lua Introduce "protection_bypass" privilege. 2016-03-11 21:09:53 +00:00
item_entity.lua
misc.lua Faster insertion into table 2016-03-06 23:42:04 +00:00
mod_profiling.lua
privileges.lua Introduce "protection_bypass" privilege. 2016-03-11 21:09:53 +00:00
register.lua Add minetest.register_lbm() to run code on block load only 2016-03-07 19:54:26 +01:00
statbars.lua
static_spawn.lua
voxelarea.lua