On Friday, 26 September 2014 at 05:02:08 UTC, Andrei Alexandrescu
wrote:
On 9/25/14, 9:05 PM, Vladimir Panteleev wrote:
On Thursday, 25 September 2014 at 21:49:43 UTC, H. S. Teoh via
Digitalmars-d wrote:
It's not just about performance.
Something I recently realized: because of auto-decoding,
std.algorithm.find("foo", 'o') cannot be implemented using
memchr.
Why not? -- Andrei
Sorry, got mixed up. countUntil can't, find can (but because
one's counting code points, they can't be implemented on top of
each other, even for arrays).