comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: GNAT's Protected Objects
Date: Tue, 09 Nov 2010 11:22:33 -0700
Date: 2010-11-09T11:22:33-07:00	[thread overview]
Message-ID: <ibc3jp$8su$1@tornado.tornevall.net> (raw)
In-Reply-To: <7312123d-3308-45ce-8d8c-89c0df588a81@j25g2000yqa.googlegroups.com>

On 11/09/2010 03:18 AM, Egil H�vik wrote:
> On Nov 8, 11:32 pm, Jeffrey Carter
> <spam.jrcarter....@spam.not.acm.org>  wrote:
>>
>>         Result : Matrix;
>
> Result is shared between multiple tasks,
> reduce references to a minimum by using a
> temporary value:
>
> This should give you a nice speedup :)

Interesting. That does help, presumably by reducing cache misses. I'm not sure 
how relevant that is for my purposes, which were to determine the optimal number 
of tasks, not obtaining the minimum running time.

The version with the PO now shows a speedup, but is still slower than the 
version without. No surprise there.

-- 
Jeff Carter
"I was in love with a beautiful blonde once, dear.
She drove me to drink. That's the one thing I'm
indebted to her for."
Never Give a Sucker an Even Break
109



  parent reply	other threads:[~2010-11-09 18:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-08 20:34 GNAT's Protected Objects Jeffrey Carter
2010-11-08 21:38 ` Anh Vo
2010-11-08 22:32   ` Jeffrey Carter
2010-11-08 22:43     ` Robert A Duff
2010-11-09  0:27       ` Jeffrey Carter
2010-11-09 14:21         ` Robert A Duff
2010-11-09 18:23           ` Jeffrey Carter
2010-11-09 10:05       ` Egil Høvik
2010-11-09  1:50     ` Anh Vo
2010-11-09  3:14       ` Jeffrey Carter
2010-11-09  2:03     ` Peter C. Chapin
2010-11-09 10:18     ` Egil Høvik
2010-11-09 11:17       ` Julian Leyh
2010-11-09 18:22       ` Jeffrey Carter [this message]
     [not found] ` <s5GdnRvDRfR6-0XRnZ2dnUVZ_hOdnZ2d@earthlink.com>
2010-11-08 22:41   ` Jeffrey Carter
2010-11-09 10:36 ` Maciej Sobczak
2010-11-24  7:08 ` Brad Moore
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox