On Friday 02 August 2002 08:14 am, Berger, Daniel wrote:
> Now I'm wondering if there's a good way to dynamically compute a
> buffer size for such an operation with each 'grab', rather than a
> fixed buffer size.  Is that a dumb idea?  Am I getting into the
> "premature optimization" stage?

file.stat.blksize

will return the block size of the underlying file; multiples of this 
would probably be most efficient.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE