ron minnich wrote:
On Tue, Jul 29, 2008 at 8:19 AM, erik quanstrom <[EMAIL PROTECTED]> wrote:
you can't make the assumption that a file is local in *ix, either.
in fact, for the last 20 years, every program run on a sunos/solaris
machine has used mmap for the exec.
mmap() is everywhere on Solaris. Even when you do something as trivial
as sort(1) --
it'll try to mmap() the operands and only if that fails it is going to
use read()/write().
Thanks,
Roman.
P.S. Which is not that bad of an optimization if you ask me...