Skip to content

Commit 09c07a3

Browse files
committed
news entry
1 parent e9a1e9a commit 09c07a3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)