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 FastThreadLocal for the Mac instances #621

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

normanmaurer
Copy link
Member

Motivation:

Creating a new Mac instance each time is wasteful. As the method is expected to be called from the EventLoop we should better cache these in a FastThreadLocal

Modifications:

Cache instances in FastThreadLocal

Result:

Less overhead

Motivation:

Creating a new Mac instance each time is wasteful. As the method is expected to be called from the EventLoop we should better cache these in a FastThreadLocal

Modifications:

Cache instances in FastThreadLocal

Result:

Less overhead
@normanmaurer normanmaurer added this to the 0.0.53.Final milestone Nov 22, 2023
@normanmaurer normanmaurer merged commit 0fa01f4 into main Nov 22, 2023
14 checks passed
@normanmaurer normanmaurer deleted the thread_local branch November 22, 2023 09:51
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.

1 participant