s/benchmarks/micro/BenchmarkMicro.st
changeset 25 2329f8ec6b0a
parent 23 e6d2045506cd
child 53 4df53904afc4
--- a/s/benchmarks/micro/BenchmarkMicro.st	Tue Jun 11 01:58:24 2013 +0100
+++ b/s/benchmarks/micro/BenchmarkMicro.st	Tue Jun 11 02:39:41 2013 +0100
@@ -98,7 +98,7 @@
 
     stream := WriteStream on:String new.
     hello := 'hello' , Character cr asString.
-    iterations := iterations ? 1000.
+    iterations := iterations isNil ifTrue:[ 1000 ] ifFalse:[ iterations ].
     table := Dictionary new: (iterations * 1000) + ((iterations * 1000) // 5).
     ary1 := (1 to:iterations * 100) asArray.
     ary2 := Array new:iterations * 100 withAll: 0.