-
Notifications
You must be signed in to change notification settings - Fork 260
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
Improved locking performance on .NET 9.0+ #685
base: development
Are you sure you want to change the base?
Improved locking performance on .NET 9.0+ #685
Conversation
Package updates
Package updates Package updates
Thanks Mark! We don't typically struggle with lock performance but we'll definitely consider integrating this for modernity, the backported dependency is potentially a little risky for us as all of our users are currently on net462 builds but we'll see. |
Package updates Package updates Package updates Package updates
066db1d
to
5670659
Compare
3cea7b9
to
8ea2cac
Compare
cdc2786
to
0653bd9
Compare
8b29f59
to
81d8342
Compare
ec0682e
to
6417f15
Compare
24f4c14
to
478e7c3
Compare
Are you still interested in this @webprofusion-chrisc? In the meantime, the library can now be used as a source generator so that you do not add an external dependency. |
@webprofusion-chrisc would you like the source generator version? |
Hi Mark we'll definitely consider this for next year and yes a source generator would be preferable to a run-time library dependency. |
The new System.Threading.Lock offers greater performance, as independent benchmarks show (eg https://steven-giesel.com/blogPost/4cf6d48a-ec9d-4c68-961c-31fd8d8c1340)