Recompilling with
CCOPT = -O2 -DNDEBUG=1 (instead of
CCOPT = -g in
include/Makefile.global) gives me these times:
- inline: 4863958 microseconds per iteration
- proc: 4318870 microseconds per iteration
I remember reading a while back on
comp.lang.tcl a post from Jeffrey Hobbs ("The Tcl Guy") that there was a roughly 30% performance hit for tclsh when compiled with
--enable-threads. So these new numbers seem quite inline with what
tclsh would likely be if it were compiled with threading enabled.