From: kennethesills@gmail.com
Subject: Re: Optimizing Ada
Date: Wed, 2 Oct 2013 07:43:15 -0700 (PDT)
Date: 2013-10-02T07:43:15-07:00 [thread overview]
Message-ID: <f26a32d5-bfec-44b7-99ae-f586ba61f133@googlegroups.com> (raw)
In-Reply-To: <lyvc1gta6l.fsf@pushface.org>
> I wonder whether your performance problem is caused by using a function?
> The internal Word_Map is, I think, going to be copied to the destination
> and then finalized. Could you use an out parameter? (remembering to
> clear it before adding ne new content).
That was exactly it, actually. As per Jacob's suggestion - I used an extended return and it dropped down to 2900ns.
Another suggestion was that Rust uses a faster hash function (SipHash 2-4).
next prev parent reply other threads:[~2013-10-02 14:43 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
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 [this message]
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