comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Optimizing Ada
Date: Tue, 01 Oct 2013 21:13:59 -0700
Date: 2013-10-01T21:13:59-07:00	[thread overview]
Message-ID: <l2g6i7$8mm$1@dont-email.me> (raw)
In-Reply-To: <74846968-cda1-4643-9c11-c38ce5c55949@googlegroups.com>

On 10/01/2013 08:53 PM, kennethesills@gmail.com wrote:
>> Ada is the fastest correct implementation you have.
>
> Yes. However, is case sensitivity the reason for a 2.7x slow down? Highly
> unlikely. In fact, using case-sensitive comparisons in Ada only reduce the
> time taken by around 50ns. So I just disregarded that fact.

I agree that the implementation of Indefinite_Hashed_Maps is probably the 
culprit, but until you have an apples-to-apples comparison, you have no 
complaint. (Actually, I can't think of any application that could use such a 
function where the difference would prevent it from meeting reasonable timing 
requirements, so you probably have no complaint anyway.)

-- 
Jeff Carter
"This school was here before you came,
and it'll be here before you go."
Horse Feathers
48

  reply	other threads:[~2013-10-02  4:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02  2:58 Optimizing Ada kennethesills
2013-10-02  3:47 ` Jeffrey Carter
2013-10-02  3:53   ` kennethesills
2013-10-02  4:13     ` Jeffrey Carter [this message]
2013-10-02  4:24       ` kennethesills
2013-10-02  8:11         ` Jacob Sparre Andersen
2013-10-02 10:32           ` Marius Amado-Alves
2013-10-02 14:24           ` kennethesills
2013-10-02 16:41         ` Jeffrey Carter
2013-10-02 18:58       ` John B. Matthews
2013-10-02  7:01 ` Egil H H
2013-10-02  7:16 ` Simon Wright
2013-10-02 14:43   ` kennethesills
2013-10-02 10:24 ` Marius Amado-Alves
2013-10-02 14:29   ` kennethesills
replies disabled

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