|Reported by:||nedbatchelder||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The JsLex lexer introduced in  has a fairly slow inner loop, because of the string truncation used as tokens are consumed.
Antti Haapala (antti@…) contributed a much tighter implementation of the inner loop:
This applies that same patch to the Django code.
Change History (3)
Changed 4 years ago by nedbatchelder
comment:1 Changed 4 years ago by jezdez
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Ready for checkin