Skip to content

Commit

Permalink
re: speedup matching by storing some state in local variables
Browse files Browse the repository at this point in the history
This is a backport of the upstream 3.11 improvement:
python/cpython#91495

I only backported the ctx->pattern -> pattern and ctx->ptr -> ptr
part because using computed goto actually decreased perf slightly on the opt build.
  • Loading branch information
undingen committed Apr 26, 2022
1 parent fc750f8 commit d76fb53
Showing 1 changed file with 237 additions and 234 deletions.
Loading

0 comments on commit d76fb53

Please sign in to comment.