comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Lorenzen <mark.lorenzen@gmail.com>
Subject: Re: Tasking for Mandelbrot program
Date: Tue, 13 Oct 2009 02:11:22 -0700 (PDT)
Date: 2009-10-13T02:11:22-07:00	[thread overview]
Message-ID: <13d4e273-d473-4e9e-9029-61910e969108@k19g2000yqc.googlegroups.com> (raw)
In-Reply-To: 4ad36024$0$7626$9b4e6d93@newsspool1.arcor-online.net

On 12 Okt., 18:58, Georg Bauhaus <rm.dash-bauh...@futureapps.de>
wrote:
> Lo and behold!  An Ada program is at #1 in two lists
> at the Shootout site.  Look for mandelbrot, the 64
> bit rankings.  Enjoy the moment while it lasts. :-)

Great!

Please note that the "bit-wise or" operation in the following line has
no effect:
     Byte_Acc := Shift_Left (Byte_Acc, 1) or 16#00#

When shifting left, you are guaranteed that zeroes are shifted in.

I have no idea if this extremely small optimization actually has any
impact on the performance though...

- Mark L



  parent reply	other threads:[~2009-10-13  9:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27  1:08 Tasking for Mandelbrot program Georg Bauhaus
2009-09-27 11:24 ` Martin
2009-09-27 21:27   ` Georg Bauhaus
2009-09-28  5:48     ` Martin
2009-09-28 19:27     ` jonathan
2009-09-29 15:26       ` Georg Bauhaus
2009-09-28 19:52     ` jonathan
2009-10-12 16:58       ` Georg Bauhaus
2009-10-12 22:46         ` jonathan
2009-10-12 23:42           ` Anh Vo
2009-10-13  9:11         ` Mark Lorenzen [this message]
2009-10-13  9:39           ` Gautier write-only
2009-10-13 12:57             ` 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