comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: performance of Generic and strings
Date: 1999/08/11
Date: 1999-08-11T00:00:00+00:00	[thread overview]
Message-ID: <7osacq$gfi$1@nnrp1.deja.com> (raw)
In-Reply-To: Pine.GSO.3.95.990811150219.5487B-100000@bilbo.mdh.se


> Is there anyone who can tell me exactly what it is that makes
> generic procedures so slow compared to non-generic procedures?

No, there is no one who can tell you this, because it simply
is not true. In most implementations of Ada, generics are done
by inline expansion, so there is absolutely NO time efficiency
penalty for making a procedure generic, none at all!

So you are really asking another question entirely, which is
something like

why is generic procedure BLA slower than non-generic procedure
JUNK.

We need to know BLA and JUNK to answer this :-)


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




      parent reply	other threads:[~1999-08-11  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-11  0:00 performance of Generic and strings Thomas Rutström
1999-08-11  0:00 ` Michael F. Yoder
1999-08-11  0:00 ` Marin David Condic
1999-08-11  0:00   ` Robert Dewar
1999-08-11  0:00     ` Marin David Condic
1999-08-13  0:00       ` Robert Dewar
1999-08-13  0:00         ` Marin David Condic
1999-08-13  0:00         ` Martin Dowie
1999-08-14  0:00           ` Robert Dewar
1999-08-16  0:00             ` Martin Dowie
1999-08-13  0:00         ` Richard D Riehle
1999-08-11  0:00 ` Robert Dewar [this message]
replies disabled

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