Use SIMD to accelerate comment lexing

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 4 13:44:26 PDT 2015


On Thursday, 4 June 2015 at 18:39:02 UTC, Walter Bright wrote:
> Hmm. There's no way to get the line number without counting 
> LFs, and that means searching for them.

It would be nice if it was that simple.

EndOfLine:
     \u000D
     \u000A
     \u000D \u000A
     \u2028
     \u2029
     EndOfFile




More information about the Digitalmars-d mailing list