[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Pessimal Optimizations.

From: Lyndon Nerenberg
Subject: Re: [Nmh-workers] Pessimal Optimizations.
Date: Tue, 11 Dec 2012 17:47:52 -0800

On 2012-12-11, at 5:25 PM, Lyndon Nerenberg wrote:

> But again, these really are micro-optimizations.  mmap() won't make anything 
> run perceivably faster, but it will introduce the potential for many subtle 
> bugs.  Best to leave well enough alone.

I forgot to say ...

Someone mentioned FreeBSD (I think) and cp using mmap() for copies.

These are *very* OS-specific optimizations. Look at FreeBSD's malloc for an 
excellent example of the misuse of mmap() :-P

None of these mmap() "optimizations" is portable; MH's heritage is portability.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]