[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-dev
Subject:    Re: [LLVMdev] Re: Autoconf
From:       "Brian R. Gaeke" <gaeke () uiuc ! edu>
Date:       2003-06-17 18:11:02
Message-ID: 20030617231023.GA53880 () prisoner ! dgate ! ORG
[Download RAW message or body]

> > 1a) In lib/Bytecode/Reader we use mmap to read in bytecode files and archives.
> > Certainly it would be trivial to rework this to fall back on mmap if
> > read/write is not possible (in one case it already does this, if we are
> > reading from stdin, which you can't mmap anyway.)
> 
> As Brian said, we already have the fallback path in here for when mmap
> isn't available.  mmap is a performance optimization though, read and
> write should never fail.

Whoops. Thanks for correcting my thinko. "...to fall back on *read/write*
if *mmap* is not possible..." is what I meant to say above.

-- 
gaeke@uiuc.edu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic