Repository navigation
Conversation
|
Perf gains for this one are lot bigger than I expected. Nice! |
cmaloney
left a comment
There was a problem hiding this comment.
Are some borrowed references which need a strong reference taken before arbitrary code is called. Want to see if you can find them yourself?
|
|
|
|
re: INCREFs do it only when needed such as in #162748. From the base conversion issue:
|
This reverts commit a984f39.
|
For context, the argument naming was suggested to change from Reverted to use old names. (My gut feeling is to add a clarifying comment to the seemingly counterintuitive |
Replace hand-written constructors with AC + vectorcall.
itertools.repeat(1, 2**100)now raisesOverflowError: cannot fit 'int' into an index-sized integerinstead ofOverflowError: Python int too large to convert to C ssize_t.Benchmark:
Details