Bruce Korb <[EMAIL PROTECTED]> writes:

> It might also be useful to use mmap to load the text, too.

We use mmap GnuTLS's strfile now, but it has had its portability
problems, and I'd like to move to something simpler since this isn't
performance critical.  It is also possible that sometimes the files
are devices, sockets etc, and then mmap doesn't work.  Avoiding the
dependency on mmap, sysconf, stat, etc seems simpler to me.  If
someone is worried about the performance later on, it is possible to
extend it to use mmap when possible.

Thanks,
Simon


Reply via email to