Artifact 32892c95fbd63ca874247f1d09c6ac5451a60b67:
- File tools/microoptimization/generalbytecode.tcl — part of check-in [2b59399d38] at 2015-10-25 10:57:26 on branch drh-micro-optimization — Allow tuning of the number of iterations in the micro-opt loops. (user: dkf, size: 305) [annotate] [blame] [check-ins using] [more...]
apply {{{limit1 100} {limit2 1000}} { for {set i 0} {$i < $limit1} {incr i} { apply {limit2 { set a {} set b {} for {set i 0} {$i < $limit2} {incr i} { lappend a $i dict set b $i [expr {$i*$i}] } return [string length $a],[string length $b] }} $limit2 } }} {*}$argv