What would need to be done to get sdc.lexer to std.lexer quality?

Bernard Helyer b.helyer at gmail.com
Thu Aug 2 00:44:02 PDT 2012


On Thursday, 2 August 2012 at 07:42:05 UTC, Jacob Carlborg wrote:
> You can probably shave off a couple of bytes by using a 
> (u)short or (u)byte instead of TokenKind. The TokenKind takes 
> 32 bits, that's way more then what's actually needed.

Good point. I think there's 180 ish at the moment, so we can
get away with a ubyte save a cambrian explosion of new
keywords. :P



More information about the Digitalmars-d mailing list