foreach counter now must be size_t ?

Walter Bright newshound2 at digitalmars.com
Thu Feb 7 03:20:03 UTC 2019


On 2/6/2019 2:00 PM, jmh530 wrote:
> mmap is something that I never really played around much with, but it seems like 
> it would be useful for me in some cases. I've done some Monte Carlo simulations 
> that end up causing me to run out of memory. Doing it as an mmap instead might 
> be slower but at least I wouldn't run out of memory.

Executables are not loaded into memory before running them, they are mmap'ed 
into memory. Digital Mars C++ used mmap for precompiled headers. There are all 
kinds of uses, it's a very effective tool.


More information about the Digitalmars-d mailing list