Skip to content
Snippets Groups Projects
Forked from Illuna-Minetest / minetest_game
Source project has a limited visibility.
  • paramat's avatar
    2ecbc43a
    Default: Optimise and simplify leafdecay ABM, remove cache · 2ecbc43a
    paramat authored
    With thanks to contributor tenplus1
    Remove leaf cache and globalstep accumulator limiter
    Use 'pos' instead of 'p0'
    Remove non-essential 'group:liquid' from 'neighbors'
    Increase chance value to 10 to compensate for disabled cache
    Disable 'catch-up' to avoid the ABM often becoming 10 times more
    intensive
    Remove use of 'do preserve' bool, instead simply 'return'
    Remove unnecessary checks for 'd' and 'd == 0'
    Don't 'get' n0, use already present 'node' instead
    Swap order two conditionals so that the one most likely is first
    2ecbc43a
    History
    Default: Optimise and simplify leafdecay ABM, remove cache
    paramat authored
    With thanks to contributor tenplus1
    Remove leaf cache and globalstep accumulator limiter
    Use 'pos' instead of 'p0'
    Remove non-essential 'group:liquid' from 'neighbors'
    Increase chance value to 10 to compensate for disabled cache
    Disable 'catch-up' to avoid the ABM often becoming 10 times more
    intensive
    Remove use of 'do preserve' bool, instead simply 'return'
    Remove unnecessary checks for 'd' and 'd == 0'
    Don't 'get' n0, use already present 'node' instead
    Swap order two conditionals so that the one most likely is first