[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-workers] Re: mmap (was: What is MH ?)
From: |
Joel Reicher |
Subject: |
[Nmh-workers] Re: mmap (was: What is MH ?) |
Date: |
Tue, 10 Jan 2006 18:24:32 +1100 |
> (Any opinions on using mmap? Would make all of the header
> processing much simpler to just mmap the first few k of each message
> and then run pointers through it.)
Perhaps I'm missing something, but I don't see any advantage to using
mmap(). As you say yourself, it's only a few k, so you might as well read()
it in to memory and be done with it. You can even use static storage
for the buffer if it's the time for allocation you're worried about.
Using mmap() might cause portability problems.
Cheers,
- Joel
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), (continued)
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Ken Hornstein, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Oliver Kiddle, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Ken Hornstein, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Chad Walstrom, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Chad Walstrom, 2006/01/10
- Re: [Nmh-workers] What is MH ?, Nathan Bailey, 2006/01/10
- Re: [Nmh-workers] What is MH ?, Joel Uckelman, 2006/01/10
- completion (was Re: [Nmh-workers] What is MH ?), Oliver Kiddle, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Robert Elz, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Jon Steinhart, 2006/01/10
- [Nmh-workers] Re: mmap (was: What is MH ?),
Joel Reicher <=
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Igor Sobrado, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Igor Sobrado, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Joel Reicher, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Valdis . Kletnieks, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Robert Elz, 2006/01/10
- Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal)), Mike O'Dell, 2006/01/10
- Re: [Nmh-workers] What is MH ?, Robert Elz, 2006/01/11
- Re: [Nmh-workers] What is MH ?, Paul Fox, 2006/01/11
- Re: [Nmh-workers] What is MH ?, Igor Sobrado, 2006/01/11
- Re: [Nmh-workers] What is MH ?, Chad Walstrom, 2006/01/11