| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Awesome work! This LGTM, just a few nits for the comments.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM :) just one question: this also adds the _POP_TWO_LOAD_CONST_INLINE_BORROW optimization to other ops like _BINARY_OP_ADD_FLOAT and others. Is it worth to add tests for these ops as well?
Essentially something like test_compare_op_float_pop_two_load_const_inline_borrow but adapted for _BINARY_OP_ADD_FLOAT, etc.. This would mean adding quite a few tests so I'm not sure if it makes sense.
Sorry, something went wrong.
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
|
Let's leave it open for a few more days in case someone else wants to leave any comments, then merge it! |
Sorry, something went wrong.
There was a problem hiding this comment.
This is great! I'd love to see it extended (later) to handle even more cases.
Sorry, something went wrong.
|
Chatted with Brandt and I think I'm going to land this PR as is. I plan to go back and do a pass to add more optimizations with _POP_TWO_LOAD_CONST_INLINE_BORROW, _POP_TOP_LOAD_CONST_INLINE_BORROW, etc. elsewhere. |
Sorry, something went wrong.
…OAT/STR` (python#137062) Co-authored-by: Ken Jin <kenjin4096@gmail.com>
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.