lambda
lambda copied to clipboard
Optimize radar rendering
Profiling indicates ~50% reduced CPU time and memory allocations
Caches expensive operations where we iterate over all chunks in a radius and removes unnecessary vector object allocations.
for the record, I still recommend using https://github.com/rfresh2/XaeroPlus instead of lambda radar. but some people are stubborn lol
If you want optimization, just throw away the objects list and store raw float. It trolls the GC.
If you want optimization, just throw away the objects list and store raw float. It trolls the GC.
for shore, also the circle rendering could use similar optimizations too