diff options
Diffstat (limited to 'trunk/benchmark/bm_loop_generator.rb')
-rw-r--r-- | trunk/benchmark/bm_loop_generator.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/trunk/benchmark/bm_loop_generator.rb b/trunk/benchmark/bm_loop_generator.rb deleted file mode 100644 index d3375c744c..0000000000 --- a/trunk/benchmark/bm_loop_generator.rb +++ /dev/null @@ -1,14 +0,0 @@ -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 |