mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-13 06:22:07 +00:00
- Previous comments in dobjgc.cpp suggested that StepMul was used to determine how quickly garbage was collected based on how quickly memory was being allocated. This was not the case. Now it is. - Remove calls to CheckGC from the thinkers. With GC running at a stable rate (once per frame), there should be no need to inject pauses into the collection process to keep it from injecting stutters (provided StepMul is sane). The risk of running out of memory because we don't run a collection pass absolutely every thinker should be practically zero. - Reduce DEFAULT_GCMUL from 400 to 200, since it does what it says now instead of something else. |
||
---|---|---|
.. | ||
autosegs.cpp | ||
autosegs.h | ||
dobject.cpp | ||
dobject.h | ||
dobjgc.cpp | ||
dobjgc.h | ||
dobjtype.cpp | ||
dobjtype.h |