[issue20291] Argument Clinic should understand *args and **kwargs parameters

2022-03-24 Thread colorfulappl
Change by colorfulappl : -- pull_requests: +30177 pull_request: https://github.com/python/cpython/pull/32092 ___ Python tracker <https://bugs.python.org/issue20

[issue46212] Avoid temporary `varargs` tuple creation in argument passing

2022-01-04 Thread colorfulappl
colorfulappl added the comment: I am a rookie in Python, did not notice changing PyAPI_FUNC means breaking backward compatibility. I have reverted _PyArg_UnpackKeywordsWithVararg and committed again. -- ___ Python tracker <ht

[issue46212] Avoid temporary `varargs` tuple creation in argument passing

2021-12-31 Thread colorfulappl
colorfulappl added the comment: I wrote some microbenchs. Patch: https://github.com/python/cpython/pull/30312/commits/b68176d081e19a3cedbaf2cdb31ecd7690421ec8 Environment: macOS 12.1 clang 13.0.0 configure with --enable-optimizations Result on microbench

[issue46212] Avoid temporary `varargs` tuple creation in argument passing

2021-12-31 Thread colorfulappl
Change by colorfulappl : -- keywords: +patch pull_requests: +28527 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30312 ___ Python tracker <https://bugs.python.org/issu

[issue46212] Avoid temporary `varargs` tuple creation in argument passing

2021-12-31 Thread colorfulappl
New submission from colorfulappl : When "Augument Clinic generated code" are parsing arguments, the args are packed to a tuple before passing to callee. This may be unnecessary. Pass a raw pointer which points to on-stack varargs, and a varargssize integer to indicate how ma

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2021-12-30 Thread colorfulappl
Change by colorfulappl : -- nosy: +colorfulappl nosy_count: 11.0 -> 12.0 pull_requests: +28526 pull_request: https://github.com/python/cpython/pull/30286 ___ Python tracker <https://bugs.python.org/issu

[issue46192] Optimize builtin functions min() and max()

2021-12-29 Thread colorfulappl
Change by colorfulappl : -- keywords: +patch pull_requests: +28500 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30286 ___ Python tracker <https://bugs.python.org/issu

[issue46192] Optimize builtin functions min() and max()

2021-12-29 Thread colorfulappl
Change by colorfulappl : -- type: -> performance ___ Python tracker <https://bugs.python.org/issue46192> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46192] Optimize builtin functions min() and max()

2021-12-29 Thread colorfulappl
New submission from colorfulappl : https://github.com/faster-cpython/ideas/discussions/199 -- components: Interpreter Core messages: 409299 nosy: colorfulappl priority: normal severity: normal status: open title: Optimize builtin functions min() and max() versions: Python 3.11