"jm" <jeffm / ghostgun.com> schrieb im Newsbeitrag 
news:86269B85-5AC9-11D9-878B-000A95D0C980 / ghostgun.com...
> Did some simplistic benchmarking,
>                             user cpu
> original                      8:49
> array combining two lines     8:44
> use string instead of array   8:46
> change to string's %          8.49
>
> not much variation. It's possible I'm looking in the wrong place. I'm 
> currently running the script with the profile module for a better idea of 
> where to look. Thanks to those who made suggestions.

Just in case you didn't know it: there's also benchmark, which is less 
intrusive than profile.

http://www.ruby-doc.org/stdlib/libdoc/benchmark/rdoc/index.html

Kind regards

    robert