faster splitter
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 27 11:21:06 PDT 2016
On 5/27/16 10:41 AM, Chris wrote:
> The improved `std find` comes very close to the manual function above
> now, sometimes it's even faster or at least as fast.
What you want to do here for indexed access is to match the last element
first. If no match, continue etc. If there's a match, enter an inner
loop where you don't need to check for the end of the haystack. -- Andrei
More information about the Digitalmars-d
mailing list