# Feature or enhancement ### Proposal: We can improve performance of `str.startswith` and other methods for the single-argument case by creating a fast path in the single argument parsing. ### Has this already been discussed elsewhere? This is a minor feature, which does not need previous discussion elsewhere ### Links to previous discussion of this feature: https://github.com/faster-cpython/ideas/issues/671 <!-- gh-linked-prs --> ### Linked PRs * gh-117432 * gh-117466 * gh-117468 * gh-117480 * gh-117495 * gh-117499 * gh-117502 * gh-117590 * gh-117591 * gh-117782 <!-- /gh-linked-prs -->
Feature or enhancement
Proposal:
We can improve performance of
str.startswithand other methods for the single-argument case by creating a fast path in the single argument parsing.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
faster-cpython/ideas#671
Linked PRs