Overview
| Artifact ID: | 7204a2885c2cba7443c4dcb86484ed6c152e27b9 |
|---|---|
| Ticket: | 903765ffffffffffffffffffffffffffffffffff
avoid quadratic parsing time |
| User & Date: | dgp on 2004-03-09 00:46:25 |
Changes
- icomment:
Logged In: YES user_id=80530 The conceptually obvious fix would be for the expr parser to stop trying to fill a linear Tcl_Token array on the fly, and instead have the parser build an actual parse tree. Then when the parse tree is complete, a simple traversal can create the Tcl_Token array in linear time. It's a simple transformation in concept, but a fairly substantial rewrite of generic/tclParseExpr.c. A nice limited project for someone who wants to get started hacking the core. Who needs a project?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"