repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
fix variable name.
[ruby-svn.git]
/
benchmark
/
bm_vm2_proc.rb
blob
0bd05b9544c417a40f7a8e0db6ed41d0e5956e39
1
def m &b
2
b
3
end
4
5
pr = m{
6
a = 1
7
}
8
9
i=0
10
while i<6000000 # benchmark loop 2
11
i+=1
12
pr.call
13
end
14