• antirez's avatar
    Scripting: don't call lua_gc() after Lua script run. · 76fda9f8
    antirez authored
    Calling lua_gc() after every script execution is too expensive, and
    apparently does not make the execution smoother: the same peak latency
    was measured before and after the commit.
    
    This change accounts for scripts execution speedup in the order of 10%.
    76fda9f8
scripting.c 38.8 KB