Untitled

Run Settings
LanguageNim
Language Version
Run Command
import tables, times, random var table = initTable[int, int]() t1, t2: float const loops = 10_000 randomize(1234) t1 = cpuTime() for _ in 0..<loops: let i = random(high(int)) table.add(i, i) echo "add ", cpuTime() - t1 # displays 0.002 randomize(1234) t1 = cpuTime() for _ in 0..<loops: table.del(random(high(int))) echo "del ", cpuTime() - t1 # displays 1.313
Editor Settings
Theme
Key bindings
Full width
Lines