Skip to content

Commit 10ab2ca

Browse files
📜🤖 Added by blurb_it.
1 parent c1ffe40 commit 10ab2ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The function :func:`unsafe_object_compare()` in :file:`Objects/listobject.c` has been optimized to avoid unnecessary reference count decrements on boolean results. This reduces overhead on tight comparison loops, improving :class:`list` sort performance by approximately 1%.
2+
Patch by Benedikt Johannes.

0 commit comments

Comments
 (0)