>-------------------------------------------------------------------------
>|                      QuickBench Session Started                       |
>|                            300 Iterations                             |
>-------------------------------------------------------------------------
>                                  user     system      total        real
>1. s.each_byte{|b| b.chr ...  2.656000   0.000000   2.656000 ( 
>2.669000)

each_char should beat the current leader as b.chr is not needed.

Strange it is not a part of Ruby as the char is the most natural part of 
a string.

Christer


-- 
Posted via http://www.ruby-forum.com/.