mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
added martin's BIGCHARSET patch to SRE 2.1.1. martin reports 2x
speedups for certain unicode character ranges.
This commit is contained in:
parent
1fb5ce0323
commit
19af43d78a
4 changed files with 107 additions and 31 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
# update when constants are added or removed
|
||||
|
||||
MAGIC = 20010320
|
||||
MAGIC = 20010701
|
||||
|
||||
# max code word in this release
|
||||
|
||||
|
@ -33,6 +33,7 @@ ANY_ALL = "any_all"
|
|||
ASSERT = "assert"
|
||||
ASSERT_NOT = "assert_not"
|
||||
AT = "at"
|
||||
BIGCHARSET = "bigcharset"
|
||||
BRANCH = "branch"
|
||||
CALL = "call"
|
||||
CATEGORY = "category"
|
||||
|
@ -103,7 +104,7 @@ OPCODES = [
|
|||
BRANCH,
|
||||
CALL,
|
||||
CATEGORY,
|
||||
CHARSET,
|
||||
CHARSET, BIGCHARSET,
|
||||
GROUPREF, GROUPREF_IGNORE,
|
||||
IN, IN_IGNORE,
|
||||
INFO,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue