After writing the post a while back on counting in Ruby I wondered if the two different implementations I outlined had similar runtimes. Inspired by this post by makaroni4 I went ahead and wrote the following little "benchmarker":
Loading...
So, you see the block centered implementation is about 20% faster than my initial one. Interesting.