зеркало из https://github.com/github/ruby.git
107 строки
2.6 KiB
Ruby
107 строки
2.6 KiB
Ruby
i = 0
|
|
while i<6_000_000 # benchmark loop 2
|
|
i+=1
|
|
a = [
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,
|
|
1,2,3,4,5,6,7,8,9,10,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