[issue46481] Implement vectorcall protocol for weakref_call()

2022-01-23 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue46481] Implement vectorcall protocol for weakref_call()

2022-01-23 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 76dc047a0e88d10aad0405228d56e94438cdd91c by Dong-hee Na in branch 'main': bpo-46481: Implement vectorcall for weakref.ref.__call__ method. (GH-30820) https://github.com/python/cpython/commit/76dc047a0e88d10aad0405228d56e94438cdd91c --

[issue46481] Implement vectorcall protocol for weakref_call()

2022-01-22 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +29007 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30820 ___ Python tracker ___

[issue46481] Implement vectorcall protocol for weakref_call()

2022-01-22 Thread Dong-hee Na
New submission from Dong-hee Na : Triggered by Victor's suggestion: - Well-used. - Easy to enhance performance. - Performance enhancement is notable. Mean +- std dev: [weakref_base] 49.3 ns +- 2.2 ns -> [weakref_vectorcall] 27.7 ns +- 0.9 ns: 1.78x faster -- assignee: corona10