Skip to content
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

Use ConcurrentDictionary for attribute cache, and avoid func #3062

Merged
merged 6 commits into from
Jun 4, 2024

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jun 4, 2024

Fix #3042

Better implementation of #3061 so we can avoid creating reflection accessor, and so we avoid creating 700k Funcs (it is almost 100ms faster on 10k tests).

@nohwnd nohwnd changed the title Concurrent 2 Use ConcurrentDictionary for attribute cache, and avoid func Jun 4, 2024
@nohwnd nohwnd marked this pull request as ready for review June 4, 2024 12:35
@nohwnd nohwnd requested a review from Evangelink as a code owner June 4, 2024 12:35
@nohwnd nohwnd enabled auto-merge (squash) June 4, 2024 12:35
@nohwnd nohwnd disabled auto-merge June 4, 2024 13:28
@nohwnd nohwnd merged commit c55ff4d into main Jun 4, 2024
7 checks passed
@nohwnd nohwnd deleted the concurrent-2 branch June 4, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use ConcurrentDictionary for attribute cache
2 participants