tdauth / tenet

Tenet-style prototype map for Warcraft III: Reforged
0 stars 0 forks source link

Performance: Drop stored changes before the maximum inversion time #36

Open tdauth opened 3 years ago

tdauth commented 3 years ago

The time can be inverted for a maximum duration of 30 seconds. All changes recorded before this time do not need to be stored constantly. Hence, flush all time frames before that time.

This should improve the memory usage for a longer game.