Skip to content

Commit 109aa63

Browse files
gireeshpunathiltargos
authored andcommitted
src: cache and resue isolate and contex pointers
Many places these values are obtained through `env` pointer that incurs function calls. Source in once and re-use as much as possible. There are more of this pattern in this file, but those are either one-time use or used in conditional blocks which means sourcing-in those data early may not be beneficial. PR-URL: #23024 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]>
1 parent 2f659a3 commit 109aa63

File tree

1 file changed

+83
-67
lines changed

1 file changed

+83
-67
lines changed

0 commit comments

Comments
 (0)