-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
src: cache context lookup in vectored io loops #61387
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
base: main
Are you sure you want to change the base?
src: cache context lookup in vectored io loops #61387
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #61387 +/- ##
=======================================
Coverage 88.53% 88.53%
=======================================
Files 704 704
Lines 208849 208849
Branches 40324 40333 +9
=======================================
+ Hits 184903 184909 +6
+ Misses 15925 15919 -6
Partials 8021 8021
🚀 New features to boost your workflow:
|
addaleax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also move Realm::context() into node_realm-inl.h so that the compiler can already make this optimization itself.
thanks, I used |
addaleax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be sure to update the commit message/PR title here as well
1ed8448 to
3d040d1
Compare
b673036 to
cc8df6b
Compare
I tried to prevent the call from being repeated