Skip to content

Speed up iteration of strings #91576

Description

@kumaraditya303

PR speeds up iteration with:

  • reducing branches in the iternext function.
  • Add a special ascii iterator for strings which covers the common case.

Benchmark results are attached in the PR.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.11only security fixesperformancePerformance or resource usage

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions