mrubyedge 1.1.12

mruby/edge is yet another mruby that is specialized for running on WASM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
def hash_ops
  h = {}
  
  # 100回挿入
  100.times do |i|
    h["k#{i}"] = "v#{i}"
  end
  
  # 100回取得
  result = []
  100.times do |i|
    result << h["k#{i}"]
  end
  
  result
end

hash_ops