At 1:46 pm +0000 17/1/01, Larry wrote:
| Unix buffered device drivers tend to use either 4096 or 8192 as the buffer
| size.
|
| MacOS likes to limit chunks of things to 32K, so you'd probably want to
| limit your Mac-based I/O to that size.
|
| My off-the-cuff two cents.
32768 (2^15) you mean? Isn't that just the display limit of the old TextEdit engine?
Does this number have any significance wider than that?
In practice I find I can use any chunk size that the memory will stand, but what I'm
not sure of is whether there's a law of diminishing returns, in other words will
MacPerl process 8 chunks of 4096 faster than it will process one chunk of 32768? I
could do tests of course but it's the principle of the thing that interests me.
JD