Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4893e6abab
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.183 kb
max = 600000
if defined? Fiber
gen = (1..max).each
loop do
gen.next
end
else
require 'generator'
gen = Generator.new((0..max))
while gen.next?
gen.next
end
end
Jump to Line
Something went wrong with that request. Please try again.