Why is D slower than LuaJIT?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Dec 23 08:33:36 PST 2010


On 12/23/10 10:09 AM, Simen kjaeraas wrote:
> Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
>
>> I decided to check in the map cache removal. We discussed it a fair
>> amount among Phobos devs. I have no doubts caching might help in
>> certain cases, but it does lead to surprising performance loss for
>> simple cases like the one tested here. See
>> http://www.dsource.org/projects/phobos/changeset/2231
>
> It seems to me that having a Cached range might be a better, more general
> solution in any case.

Agreed.

Andrei


More information about the Digitalmars-d mailing list