1 "======================================================================
3 | Benchmark for streams
6 ======================================================================"
10 n := Smalltalk arguments isEmpty
12 ifFalse: [ 1 max: Smalltalk arguments first asInteger ].
14 hello := String new writeStream.
15 n timesRepeat: [ hello nextPutAll: 'hello
16 \' ]. "this is a comment
17 so this line is a comment too\"
18 hello position displayNl
19 "but the previous one, and this one too, are not!" ]