-
I found @Gobot1234 to blame for this when I went to borrow the get and find utility functions from this project. I'm assuming storing builtins as locals is some sort of performance optimization but I'm not familiar enough with Python's internals to understand. Can anyone shed some light for me? |
Beta Was this translation helpful? Give feedback.
Answered by
Gobot1234
Jun 6, 2022
Replies: 1 comment 1 reply
-
I didn't write this, it was there before, I just preserved it when I added support for async iteration for get, it just adds the variables to locals which speedups lookups for tight iterations. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Akrugerus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I didn't write this, it was there before, I just preserved it when I added support for async iteration for get, it just adds the variables to locals which speedups lookups for tight iterations.