Debian Codegraph @

test/num/plusgets.praat

raw
1 a# = repeat# ({5},100)
2 b# = a#
3 stopwatch
4 for i to 1000000
5 b# += a#
6 endfor
7 writeInfoLine: stopwatch, " ", b# [3]
8
9 a# = repeat# ({5},100)
10 for i to 5
11 a# += a#
12 endfor
13 a# [3] = 160
14
15 a# = { 1, 3, 5 }
16 a# += 10
17 assert a# = { 11, 13, 15 }