From: ts Date: 2003-04-05T20:53:11+09:00 Subject: Re: Newbie question:read file speed >>>>> "P" == Paul Brannan writes: P> I would expect that using read/write directly instead of going through P> the C interface would be faster and more portable than going under the P> hood of the C library. If a particular system does not have read/write, P> then it can be simulated using fread/fwrite with buffering disabled. If you use read/write you have to manage a buffer, why do you want to manage a buffer when you can use the internal buffer used by the C library. If 1.8 is faster than 1.6 this is just because ruby make, in some case, something similar to perl. Guy Decoux