mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

This change gives a significant speedup, as the METH_FASTCALL calling convention is now used.
2 lines
144 B
ReStructuredText
2 lines
144 B
ReStructuredText
Improve the performance of :meth:`str.startswith` and :meth:`str.endswith`
|
|
by adapting them to the :c:macro:`METH_FASTCALL` calling convention.
|