Skip to content

improve parsing performance - #3338

Merged
davidism merged 2 commits into
mainfrom
performance
Oct 26, 2026
Merged

davidism merged 2 commits into
mainfrom
performance

Conversation

@davidism

Copy link
Copy Markdown
Member
  • parse_cookie uses possessive quantifiers now to avoid any unnecessary backtracking. These were added in Python 3.11.
  • _normalize_mime uses str.split instead of re.split.

@davidism davidism added this to the 3.2.0 milestone Oct 26, 2026
@davidism
davidism merged commit b73dce5 into main Oct 26, 2026
12 checks passed
@davidism
davidism deleted the performance branch October 26, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant