YM> In message "[ruby-talk:17432] performance question"
YM>     on 01/07/07, Joseph McDonald <joe / vpop.net> writes:

YM> |Just wondering if there is a trick to speed up the following:

YM> Upgrading to the latest snapshot.  It runs much faster.

Yes.  MUCH faster! :
/usr/bin/time ~/junk.rb
4.95user 0.04system 0:04.99elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (227major+6463minor)pagefaults 0swaps

Oh, and it consumes much less memory than the perl and python
versions:
ruby: 27M
perl: 105M
python: 39M

nice.

Thanks,
-joe