Skip to content
Tcl Source Code Artifact [32892c95fb]
Login

Artifact [32892c95fb]

Artifact 32892c95fbd63ca874247f1d09c6ac5451a60b67:


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