Change by Itamar Ostricher :
--
nosy: +itamaro
___
Python tracker
<https://bugs.python.org/issue46850>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Itamar Ostricher :
CPython extensions providing optimized execution of Python bytecode (like
[Cinder
JIT](https://docs.google.com/document/d/1l8I-FDE1xrIShm9eSNJqsGmY_VanMDX5-aK_gujhYBI/edit#heading=h.ujldakarfxhh)
and [Pyjion](https://github.com/tonybaloney/Pyjion))
can
Itamar Ostricher added the comment:
interested in this too - came here to see if I can implement, but found that a
patch is already available (GH-20911), and applies cleanly on latest main
branch (see my PR comments)
would be great if it gets merged!
--
nosy: +itamaro
Itamar Ostricher added the comment:
thanks for the feedback Serhiy!
repeating my response from the PR here as well (not sure what's the proper
etiquette.. :-) )
note that this code path is not for creating new types (which is slow as you
say), but for creating new instances (which is
Itamar Ostricher added the comment:
thanks for the feedback & discussion, I submitted a new PR
--
___
Python tracker
<https://bugs.python.org/iss
Change by Itamar Ostricher :
--
pull_requests: +27650
pull_request: https://github.com/python/cpython/pull/29392
___
Python tracker
<https://bugs.python.org/issue45
Itamar Ostricher added the comment:
Dennis, you mean something like this?
https://github.com/itamaro/cpython/commit/92d46b260cf6ccce1a47003f539294530138e488
sure, that would preempt the `PyType_IsSubtype` calls coming from these
specific callsites, but the early return in `PyType_IsSubtype
Change by Itamar Ostricher :
--
keywords: +patch
pull_requests: +27638
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29380
___
Python tracker
<https://bugs.python.org/issu
New submission from Itamar Ostricher :
Based on real world profiling data we collected, a vast amount of
`PyType_IsSubtype` calls are coming from `type_call`, when it decides whether
`__init__` should run or not.
In the common case, the arguments to this call are identical, but the