Dan Sugalski wrote:
At 5:32 PM +0000 1/24/03, Dave Mitchell wrote:I just wrote a quick C program that successfully mmap-ed in all 1639 files in my Linux box's /usr/share/man/man1 directory.
Linux is not the universe, though.
I have it changed to use mmap() bytecode (other segments, with have a similar thing (i.e. size and opcode_t[size]) will be mmaped too).
If mmap'ing the packfile fails, a fallback to IO reading is there.
leo