mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-10 19:35:12 -05:00
d7908ee494
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. |
||
---|---|---|
.. | ||
auth.lua | ||
chatcommands.lua | ||
constants.lua | ||
deprecated.lua | ||
detached_inventory.lua | ||
falling.lua | ||
features.lua | ||
forceloading.lua | ||
init.lua | ||
item_entity.lua | ||
item.lua | ||
misc.lua | ||
mod_profiling.lua | ||
privileges.lua | ||
register.lua | ||
statbars.lua | ||
static_spawn.lua | ||
voxelarea.lua |