We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a1e9a commit 09c07a3Copy full SHA for 09c07a3
1 file changed
Misc/NEWS.d/next/Core_and_Builtins/2026-05-01-12-00-00.gh-issue-143732.aI0bt4.rst
@@ -0,0 +1,6 @@
1
+Speed up :opcode:`TO_BOOL` in the JIT by adding a new tier 2 ``_TO_BOOL_SIZED``
2
+uop covering :class:`dict`, :class:`tuple`, :class:`bytes`,
3
+:class:`bytearray`, :class:`set` and :class:`frozenset`, propagating type
4
+information for ``*args`` (always a tuple) and ``**kwargs`` (always a dict),
5
+and recording the runtime operand type so the optimizer can specialise
6
+``TO_BOOL`` even when the static type is unknown.
0 commit comments