comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: fastest data structure
Date: Wed, 11 Dec 2002 01:14:05 GMT
Date: 2002-12-11T01:14:05+00:00	[thread overview]
Message-ID: <3DF6919B.9020400@acm.org> (raw)
In-Reply-To: at5kmf$3ia$1@news-reader12.wanadoo.fr

Etienne Baudin wrote:
> for i in A'range loop
>     processing A(i)
> end loop;
> 
> while (p != null) loop
>     process p.comp;
>     p := p.next;
> end loop;

If you're actually doing something interesting and useful in your 
processing, I suspect the difference will be so small you won't even 
notice it.

-- 
Jeff Carter
"From this day on, the official language of San Marcos will be Swedish."
Bananas




  parent reply	other threads:[~2002-12-11  1:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10 21:01 fastest data structure Etienne Baudin
2002-12-10 22:12 ` Victor Porton
2002-12-11  1:14 ` Jeffrey Carter [this message]
2002-12-11  3:23 ` SteveD
2002-12-11 13:03   ` Marin David Condic
2002-12-11 15:02   ` Etienne Baudin
2002-12-11 15:11     ` Lutz Donnerhacke
2002-12-11 19:04     ` tmoran
2002-12-12  4:22     ` SteveD
2002-12-12 12:40       ` P R Keeble
2002-12-14 16:23       ` Simon Wright
2002-12-17  0:33         ` Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2002-12-10 21:51 Gautier direct_replies_not_read
replies disabled

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