8000 optimize AttributeMap by hayanesuru · Pull Request #299 · Winds-Studio/Leaf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

optimize AttributeMap #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 28, 2025
Merged

optimize AttributeMap #299

merged 4 commits into from
Apr 28, 2025

Conversation

hayanesuru
Copy link
Collaborator
@hayanesuru hayanesuru commented Apr 27, 2025

Replace the hash map with an array

The array is thread-safe and consume small memory, as the attribute registry is small

@hayanesuru hayanesuru added the type: optimization Pull request for optimization label Apr 27, 2025
@hayanesuru hayanesuru marked this pull request as draft April 27, 2025 11:09
@hayanesuru hayanesuru marked this pull request as ready for review April 27, 2025 13:34
@Taiyou06 Taiyou06 merged commit 1bddbe1 into ver/1.21.4 Apr 28, 2025
1 check passed
@hayanesuru hayanesuru deleted the dev/attribute branch April 30, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: optimization Pull request for optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0