Commit 9e7d998d

– Use references where appropriate
– Properly clean up all non-used objects in the UI render pipeline

As mentioned in the previous post this commit was all about performance improvements (or regressions). Luckily the changes were rather trivial, but had promising effects:


These two screenshots were taken after randomly switching around between the game modes as quickly as possible for 30 seconds.
While not exactly very scientific, we can see a big difference in the CPU load, as data structures weren’t properly discarded in the UI code before (among other problems). So I’m back in the door/window business and can hopefully quickly finish this up. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *