On Wed, Nov 07, 2007 at 07:26:56AM +0900, murphy wrote:
> strange. is it the generate.rb or the test.rb that's slowing down?
> [murphy]

Good catch - I thought I was running generate.rb under 1.8.2 under both
cases but I wasn't.  Made the fix and the problem is still there:

[pbrannan@zem tmp]$ cat run.sh
#!/bin/sh

n=$1

echo -n "$n "

ruby generate.rb $n | ruby test.rb
ruby generate.rb $n | ruby1.9 -Ka test.rb | grep -v patchlevel

[pbrannan@zem tmp]$ ./run.sh 5000000
5000000 18.104177 35.888206 

Paul