mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 06:04:35 +00:00
changed default manual_gc memory ceiling to math.huge to avoid unnecessary collections
This commit is contained in:
parent
6bf6c6328a
commit
0b18c049c2
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user