faster splitter

Patrick Schluter via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 1 05:14:07 PDT 2016


On Tuesday, 31 May 2016 at 17:54:34 UTC, qznc wrote:
> There is a special version of find for searching a single char 
> in a string. Using a one-letter needle string is more like a 
> user mistake than something to optimize for.

At compile time you may not know the length of the needle, like 
in the grep command.




More information about the Digitalmars-d mailing list