From: Mat Schaffer Date: 2006-07-28T01:29:19+09:00 Subject: Re: String#chop slow? REALLY slow? On Jul 27, 2006, at 12:20 PM, ara.t.howard@noaa.gov wrote: > on my node: > > harp:~ > ruby a.rb > Rehearsal -------------------------------------------- > Indexing 0.150000 0.000000 0.150000 ( 0.145923) > Chop 4.210000 16.200000 20.410000 ( 20.910127) > Chop2 4.210000 0.220000 4.430000 ( 4.536517) > ---------------------------------- total: 24.990000sec > > user system total real > Indexing 0.140000 0.000000 0.140000 ( 0.142257) > Chop 0.110000 0.000000 0.110000 ( 0.104612) > Chop2 0.150000 0.000000 0.150000 ( 0.152083) Now that's interesting. I wonder why the rehearsal and the real run are so different....