-
-
Notifications
You must be signed in to change notification settings - Fork 108
perf: use Lock for small boost and declare intent
#4454
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
Conversation
SummaryThis PR replaces object lock instances with the modern Lock type for improved performance and clearer intent across 5 files in the TUnit.Core and TUnit.Engine projects. Critical IssuesNone found AnalysisThe changes are straightforward and appropriate. What was changed:
TUnit Rules Compliance:
VerdictAPPROVE - Clean performance improvement with no issues. The change aligns perfectly with TUnit's Performance First and use modern features principles. |
6d0d250 to
d582750
Compare
Small change,
Lockis slightly faster that usingobject, but the main advantage is that it declares intent.