More suggestions for find()
Jack Stouffer via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 20 06:27:59 PDT 2016
On Monday, 20 June 2016 at 12:34:55 UTC, qznc wrote:
> On Sunday, 19 June 2016 at 10:38:27 UTC, qznc wrote:
>> On Saturday, 18 June 2016 at 18:54:28 UTC, Andrei Alexandrescu
>> wrote:
>>> Got this link from the reddit discussion around the blog
>>> article: http://effbot.org/zone/stringlib.htm. The
>>> Bloom-filter-style trick looks quite cool. Anyone interested
>>> in running some more experiments? Thx! -- Andrei
>>
>> Compare with memmem. That is 4x faster than the current stuff.
>> I guess vector instructions are key. There is a branch in my
>> repo.
>
> More like 2x after looking again
Cool :)
What are the chances of getting this in Phobos?
More information about the Digitalmars-d
mailing list