Skip to content

Commit 81f2fa7

Browse files
committed
perf: optimize set and frozenset membership lookup by inlining lookups and adding a fast path
1 parent d25015b commit 81f2fa7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Optimize set and frozenset membership lookup by inlining ``set_do_lookup`` and adding a ``PyUnicode_CheckExact`` fast path to ``set_compare_frozenset``.

0 commit comments

Comments
 (0)