From: Mathieu Bouchard Date: 2002-08-04T12:16:42+09:00 Subject: Re: IO#read is slow On Sun, 4 Aug 2002, Mathieu Bouchard wrote: > I have a program that needs IO#read to be fast. I found out that IO#read > uses C's getc() instead of fread(). This is several times slower than > fread(), as I tried it. However, I think my solution would not work with > Ruby threads. Is there a way to use fread() to get sensible amounts of > data without fear of blocking? Never mind, it's using fread() in 1.7. Speaking of which, when did Process::Status appear ? it broke one of my programs. ________________________________________________________________ Mathieu Bouchard http://artengine.ca/matju