Version française
Home     About     Download     Resources     Contact us    
Browse thread
Memory allocation nano-benchmark.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Memory allocation nano-benchmark.
On Fri, 2005-02-11 at 03:50, Marwan Burelle wrote:
> On Thu, 10 Feb 2005 09:59:53 -0500, John Prevost <j.prevost@gmail.com> wrote:
> > In a program that allocates one very large chunk of memory, 

> It also depends on malloc, on Linux it sometimes works
> "optimisticaly", that is, it won't realy allocate memory unless you
> use it

This behaviour is not allowed by the ISO C Standard.
This case was actually discussed by WG14.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net