From: Georg Bauhaus <rm-host.bauhaus@maps.futureapps.de>
Subject: Re: Using local storage pools...
Date: Thu, 24 Feb 2011 10:51:51 +0100
Date: 2011-02-24T10:51:51+01:00 [thread overview]
Message-ID: <4d662a37$0$7659$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <17i1ytb9bptzk$.1b6rl6rjp4p79.dlg@40tude.net>
On 2/24/11 10:26 AM, Dmitry A. Kazakov wrote:
> On Wed, 23 Feb 2011 23:55:05 +0000, Brian Drummond wrote:
>
>> The other : the shootout rules explicitly disallow implementing your own pool.
>
> Huh:
>
> type Nodes_Arena is array (1..<huge-number>) of aliased Node;
> Last_Allocated : Integer := 0;
>
> function Create return not null access Node is
> begin
> Last_Allocated := Last_Allocated + 1;
> return Nodes_Arena (Last_Allocated)'Access;
> end Create;
>
> This is it an implementation of arena. How can this be disallowed?
"Each program should
...
"allocate, walk, and deallocate many bottom-up binary trees
* allocate a tree
* walk the tree nodes, checksum the node items (and maybe deallocate the node)
* deallocate the tree
...
"Note: these programs are being measured with the default initial heap
size - the measurements may be very different with a larger initial
heap size or GC tuning.
"<strong>Please don't implement your own custom memory pool or free list.</>"
"The binary-trees benchmark is a simplistic adaptation of Hans Boehm's GCBench,
(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_bench/applet/GCBench.java)
which in turn was adapted from a benchmark by John Ellis and Pete Kovac."
http://shootout.alioth.debian.org/u32/performance.php?test=binarytrees
next prev parent reply other threads:[~2011-02-24 9:51 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 19:01 Using local storage pools Brian Drummond
2011-02-23 20:42 ` Dmitry A. Kazakov
2011-02-23 23:55 ` Brian Drummond
2011-02-24 9:26 ` Dmitry A. Kazakov
2011-02-24 9:51 ` Georg Bauhaus [this message]
2011-02-24 10:09 ` Dmitry A. Kazakov
2011-02-24 10:39 ` Brian Drummond
2011-02-23 20:51 ` Ludovic Brenta
2011-02-24 0:27 ` Brian Drummond
2011-02-24 8:03 ` Ludovic Brenta
2011-02-24 17:04 ` Brian Drummond
2011-02-24 12:34 ` Robert A Duff
2011-02-23 21:01 ` Simon Wright
2011-02-24 0:00 ` Brian Drummond
2011-02-26 3:02 ` Randy Brukardt
2011-02-26 18:41 ` Pascal Obry
2011-02-26 18:59 ` Pascal Obry
2011-02-26 3:07 ` Randy Brukardt
2011-02-26 8:41 ` anon
2011-02-26 10:42 ` Pascal Obry
2011-02-26 11:41 ` Ludovic Brenta
2011-02-27 4:16 ` anon
2011-02-27 8:18 ` Pascal Obry
2011-02-27 23:46 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox