; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sr = 48000
ksmps = 1
;nchnls = 2
0dbfs = 1
instr 1
idict dict_new, "str:float"
kndx = 0
printf("RTClock: %g\n", 1, rtclock:k())
while (kndx < 1000000) do
dict_set idict, sprintfk("key%d", kndx), kndx
kndx += 1
od
printf("RTClock: %g\n", 1, rtclock:k())
kndx = 0
while (kndx < 1000000) do
kval dict_get idict, sprintfk("key%d", kndx)
kndx += 1
od
printf("RTClock: %g\n", 1, rtclock:k())
turnoff
endin
; ==============================================
i 1 0 0.1