branchrust_reboot/main/map_perf_improvementscancel
4 Commits over 121 Days - 0.00cph!
Merge from main (right branch this time, lots of conflicts)
Reduced GC in cluster generation by preallocating a bunch of appropriately sized MapMarker lists
Made tooltips use pooling
Use a HashSet when calculating marker clusters, makes generation twice as fast (3ms = 100 vm's goes to 1.5ms)
Prepool 25 shop markers and clusters so first run is faster
Death/map screen profiling and performance improvements
Don't populate the folded out version of the vending cluster widget until the player clicks it (seems like this is where most of the cost lies, this will also be fixed by the upcoming vending widget redesign)
Enabled pooling on cluster and vending markers
Old: 99.6kb of GC and 16.3ms for 101 vm's in 5 clusters
New: 185kb of GC and 3.6ms for the same display
Still WIP, can definitely fix the GC increase