Manifest of check-in
[36db802e78]
- * generic/tclParseExpr.c: Use the "parent" field of
orphan ExprNodes to store the closure of left pointers. This
lets us avoid repeated re-scanning leftward for the left
boundary of subexpressions, which in worst case led to near
O(N^2) runtime.
by
dgp on
2006-08-29 19:04:56.
B 349a10088f4b234db489609ddf5473c248f2a0c4
C \s\s\s\s\s\s\s\s*\sgeneric/tclParseExpr.c:\s\s\s\s\s\s\sUse\sthe\s"parent"\sfield\sof\n\s\s\s\s\s\s\s\sorphan\sExprNodes\sto\sstore\sthe\sclosure\sof\sleft\spointers.\s\sThis\n\s\s\s\s\s\s\s\slets\sus\savoid\srepeated\sre-scanning\sleftward\sfor\sthe\sleft\n\s\s\s\s\s\s\s\sboundary\sof\ssubexpressions,\swhich\sin\sworst\scase\sled\sto\snear\n\s\s\s\s\s\s\s\sO(N^2)\sruntime.\n
D 2006-08-29T19:04:56
F ChangeLog 2008ca765d944825587babf9ee3183510cacec23
F generic/tclCompile.c 11b9fb08024afc284dad41cb49521b5470031a0c
F generic/tclExecute.c e6893003aa9a165f3e3ca746e2b020ff52bcbbb4
F generic/tclParseExpr.c 182f8cd49365c6e2bbf4b8e0e1c4ec026597e526
F unix/tclUnixInit.c 3ac4726fb428f42a9790f1de002e64d75340b950
F unix/tclUnixThrd.c dd0bbb591211cad6c14d394db0922cd4f224dbfe
P 6e49a4e1e7f88e69d32dcc117d5a619681842b2b
U dgp
Z f4490a6bbe8ec0cffa0b4567c2342c87