bpo-39434: Improve float __floordiv__ performance and error message#18147
bpo-39434: Improve float __floordiv__ performance and error message#18147mdickinson merged 1 commit intopython:masterfrom
Conversation
|
@mdickinson, @vstinner |
mdickinson
left a comment
There was a problem hiding this comment.
Neat trick: I was worried about duplicated code (see the issue discussion), but it seems we can rely on the compiler to inline _float_div_mod and then strip out the redundant stuff.
LGTM
|
Is there benefit to applying the same approach to |
Sorry, of course that doesn't apply, since |
|
@vstinner @pablogsal If you don't mind can you please take a look? :) |
|
I've done some manual testing as well as reviewing. Still LGTM. |
https://bugs.python.org/issue39434