diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-02-15 20:43:08 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-02-15 20:43:08 (GMT) |
commit | 182448a5403990b1f583b5f9cf6cf6d8e2b7c8de (patch) | |
tree | 0c8ee86e4a1dfdbe9ad52a7e66349e03ea8ad569 /ChangeLog | |
parent | ef8842098dc6103ef6fc6fc7deb1b7e5395e85a2 (diff) | |
download | tcl-182448a5403990b1f583b5f9cf6cf6d8e2b7c8de.zip tcl-182448a5403990b1f583b5f9cf6cf6d8e2b7c8de.tar.gz tcl-182448a5403990b1f583b5f9cf6cf6d8e2b7c8de.tar.bz2 |
* generic/tclCompCmds.c (TclCompileLreplaceCmd): Added a compilation
strategy for [lreplace] that tackles the cases which are equivalent to
a static [lrange].
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,8 +1,10 @@ 2012-02-15 Donal K. Fellows <dkf@users.sf.net> - * generic/tclCompCmds.c (TclCompileLrangeCmd): Add compiler for - [lrange] with constant indices so we can take advantage of existing - TCL_LIST_RANGE_IMM opcode. + * generic/tclCompCmds.c (TclCompileLreplaceCmd): Added a compilation + strategy for [lreplace] that tackles the cases which are equivalent to + a static [lrange]. + (TclCompileLrangeCmd): Add compiler for [lrange] with constant indices + so we can take advantage of existing TCL_LIST_RANGE_IMM opcode. (TclCompileLindexCmd): Improve coverage of constant-index-style compliation using technique developed for [lrange] above. |