This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tip457-perfs.tcl | |
set loops 10000000 | |
set hasArgspec [expr {![catch {info argspec specifier}]}] | |
# default implementation, no argspec, no named arguments | |
proc p1 {a b {c 0} {d 0} {e 0} {f 0} {g 0} {h 0} {i 0} {j 0}} { | |
list $a $b $c $d $e $f $g $h $i $j | |
} |