Skip to content

Commit d76fb53

Browse files
committed
re: speedup matching by storing some state in local variables
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.
1 parent fc750f8 commit d76fb53

File tree

1 file changed

+237
-234
lines changed

1 file changed

+237
-234
lines changed

0 commit comments

Comments
 (0)