ruff
de9d86e2 - Speed up identifier and keyword lexing (#29463)

Commit
8 days ago
Speed up identifier and keyword lexing (#29463) ## Summary We scan ASCII identifier continuations in sixteen-byte batches using a byte lookup table, avoiding per-character decoding. Keyword lookup filters by length and initial byte, then uses a compact hash table with a full-word comparison to reject collisions. Non-ASCII suffixes retain the existing Unicode path.
Author
Parents
Loading