Skip to content

Conversation

@JaffaKetchup
Copy link
Member

The caching of the simplification was not working correctly, and creating massive overheads.
Essentially, we were storing a lazily-generated Iterable in the simplification cache. This means that it was fully re-generated (re-simplified) on every cache retrieval: simplification had to run every frame. We now store a non-growable List.

Before:
image

After:
image

@JaffaKetchup JaffaKetchup merged commit 1150d3b into master Nov 24, 2024
8 checks passed
@JaffaKetchup JaffaKetchup deleted the fixed-perf-bug-simplification branch November 24, 2024 13:39
@corepuncher
Copy link

Sounds exciting, can't wait to test. As you know, I am into "massive performance increases" myself :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants