mirror of
https://github.com/python/cpython
synced 2024-10-14 09:43:55 +00:00
4a0af0cfdc
- Cache line object to avoid creating a Unicode object
for all of the tokens in the same line.
- Speed up byte offset to column offset conversion by using the
smallest buffer possible to measure the difference.
(cherry picked from commit
|
||
---|---|---|
.. | ||
action_helpers.c | ||
asdl.py | ||
asdl_c.py | ||
myreadline.c | ||
parser.c | ||
peg_api.c | ||
pegen.c | ||
pegen.h | ||
pegen_errors.c | ||
Python.asdl | ||
string_parser.c | ||
string_parser.h | ||
token.c | ||
tokenizer.c | ||
tokenizer.h |