Array!T and find are slow

Damian Day via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 14 07:24:27 PDT 2014


I've found bench-marking my program that std.algorithm.find is
very slow on Array!T, due to the fact it iterates on a range
instead of a plain array.

I've written some search functions, which are many times faster, 
is it
worth making a pull request?

http://dpaste.dzfl.pl/63b54aa27f35#


More information about the Digitalmars-d-learn mailing list