changed default manual_gc memory ceiling to math.huge to avoid unnecessary collections

This commit is contained in:
Max Cahill 2024-01-02 12:35:15 +11:00
parent 6bf6c6328a
commit 0b18c049c2

View File

@ -40,7 +40,7 @@
return function(time_budget, memory_ceiling, disable_otherwise) return function(time_budget, memory_ceiling, disable_otherwise)
time_budget = time_budget or 1e-3 time_budget = time_budget or 1e-3
memory_ceiling = memory_ceiling or 64 memory_ceiling = memory_ceiling or math.huge
local max_steps = 1000 local max_steps = 1000
local steps = 0 local steps = 0
local start_time = love.timer.getTime() local start_time = love.timer.getTime()