UI and transform performance updates #283
BrentFarris
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've made a few updates to improve the performance and use goroutines a bit more for concurrent work. The first update was to the UI system. I completely overhauled the UI so that there is no longer a UI interface but instead a singular UI struct that all UI elements are. This allows all different UI elements to be packed into a linear array and pooled. Each UI element has a block of data unique to it's own element type, but the rest is shared. I've also added pooling and a UI Manager which uses pooling to manage a linear array of raw UI structures. The second performance update was to Transforms. Now they are not looped through in the host, but instead work for updating and resetting their dirty state is done in a WorkGroup. This is a concurrent grouping of work that executes and blocks until all work is complete.
Beta Was this translation helpful? Give feedback.
All reactions