Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Optimize radar rendering#581

Open
rfresh2 wants to merge 1 commit into
lambda-client:masterfrom
rfresh2:radarOptimize2
Open

Optimize radar rendering#581
rfresh2 wants to merge 1 commit into
lambda-client:masterfrom
rfresh2:radarOptimize2

Conversation

@rfresh2

@rfresh2 rfresh2 commented Aug 11, 2023

Copy link
Copy Markdown
Contributor

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.

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.
@rfresh2

rfresh2 commented Aug 11, 2023

Copy link
Copy Markdown
Contributor Author

for the record, I still recommend using https://github.com/rfresh2/XaeroPlus instead of lambda radar. but some people are stubborn lol

@Luna5ama

Copy link
Copy Markdown
Contributor

If you want optimization, just throw away the objects list and store raw float. It trolls the GC.

@rfresh2

rfresh2 commented Aug 11, 2023

Copy link
Copy Markdown
Contributor Author

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

@IceTank

IceTank commented Dec 12, 2025

Copy link
Copy Markdown

LGTM 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants