FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Optimize radar rendering by rfresh2 · Pull Request #581 · lambda-client/lambda-legacy · GitHub

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 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 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

Copy link
Copy Markdown
Contributor

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

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 commented Dec 12, 2025

Copy link
Copy Markdown

LGTM 👍

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL