diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2004-05-12 17:43:52 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2004-05-12 17:43:52 (GMT) |
commit | 200415876026090ba976a55f11c319630f0ef9ae (patch) | |
tree | a05f9e6a5498d422911ad35005a0f3a51b875ceb /ChangeLog | |
parent | 0d8310f9be1577fb211b01fbbe020ea6621fc1e5 (diff) | |
download | tcl-200415876026090ba976a55f11c319630f0ef9ae.zip tcl-200415876026090ba976a55f11c319630f0ef9ae.tar.gz tcl-200415876026090ba976a55f11c319630f0ef9ae.tar.bz2 |
Optimisations for INST_START_CMD [Bug 926164].
* generic/tclCompile.c (TclCompileScript): avoid emitting
INST_START_CMD as the first instruction in a bytecoded Tcl_Obj. It
is not needed, as the checks are done before calling TEBC.
* generic/tclExecute.c (TclExecuteByteCode): runtime peephole
optimisation: check at INST_POP if the next instruction is
INST_START_CMD, in which case we fall through.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2004-05-12 Miguel Sofer <msofer@users.sf.net> + + Optimisations for INST_START_CMD [Bug 926164]. + * generic/tclCompile.c (TclCompileScript): avoid emitting + INST_START_CMD as the first instruction in a bytecoded Tcl_Obj. It + is not needed, as the checks are done before calling TEBC. + * generic/tclExecute.c (TclExecuteByteCode): runtime peephole + optimisation: check at INST_POP if the next instruction is + INST_START_CMD, in which case we fall through. + 2004-05-11 Donal K. Fellows <donal.k.fellows@man.ac.uk> * doc/split.n, doc/join.n: Updated examples and added more. |