aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-01-24 12:50:39 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:44 +1000
commitb33cf7f87ff295726c4a9e86b74217bcb64dbf78 (patch)
tree3efb922f49b52b38112b7803319be6812e180635 /TODO
parenta230afdc68bcad14a9dfd0f9c8c6955980669cd6 (diff)
downloadjimtcl-b33cf7f87ff295726c4a9e86b74217bcb64dbf78.zip
jimtcl-b33cf7f87ff295726c4a9e86b74217bcb64dbf78.tar.gz
jimtcl-b33cf7f87ff295726c4a9e86b74217bcb64dbf78.tar.bz2
Rework script/subst parser for improved performance
*: Keep abc(def) as a single token, but split abc($def) into 4 tokens *: Then optimise when interpolating to keep a reference to the underlying objects *: This speeds up the 'set a($b)' case a lot *: Also avoid so much alloc/realloc when parsing scripts and subst objects Also simplify cmdStruct creation *: Can omit args=-1 for expand *: Makes it easy to calculate the length *: Do it all in a single loop for simplicity, size and speed
Diffstat (limited to 'TODO')
-rw-r--r--TODO6
1 files changed, 0 insertions, 6 deletions
diff --git a/TODO b/TODO
index e2ef146..3460244 100644
--- a/TODO
+++ b/TODO
@@ -21,12 +21,6 @@ EXTENSIONS
SPEED OPTIMIZATIONS
-- Find a way to avoid interpolation/reparsing in "foo($bar)" tokens.
- See the "sieve" and "ary" bench performances, result of this problem.
- (to compare with sieve_dict is also useful.)
-
- * This is difficult considering the way tokens are parsed
-
- Experiment with better ways to do literal sharing.
* Currently literal sharing is completely removed. Can it be made