Bob X wrote:
> What version? I believe from prior postings to this newsgroup that 1.6.7
> and even better 1.7.2 has fixed it.

Yes. "ruby cat.rb < /tmp/ten_megabytes > /dev/null" takes 0.15s with 1.6.7,
down from 1.3s with 1.6.6.

Perl does it in .037s, and /bin/cat in .035s, and my C program with a 65K
buffer and read/write does it in .063s - no idea why /bin/cat is faster.
But ruby is only four times slower, so that's not too bad.

--
Clifford Heath