Request for comments: std.d.lexer
Walter Bright
newshound2 at digitalmars.com
Fri Feb 8 23:48:50 PST 2013
On 2/8/2013 12:01 AM, Jonathan M Davis wrote:
> It's not quite a use case where
> ranges shine - especially when efficiency is a top priority.
A more problematic case is dmd's lexer relies on a 0 byte at the end to be a
"sentinel" for the end of file. Without such a sentinel, every consumption of a
source character requires two operations rather than one.
More information about the Digitalmars-d
mailing list