std.d.lexer: pre-voting review / discussion

Martin Nowak code at dawg.eu
Wed Sep 11 19:21:36 PDT 2013


On 09/12/2013 03:39 AM, Walter Bright wrote:
> On 9/11/2013 6:30 PM, deadalnix wrote:
>> Indeed. What solution do you have in mind ?
>
> The solution dmd uses is to put in an intermediary layer that saves the
> lookahead tokens in a linked list.

Linked list sounds bad.
Do you have a rough idea how often lookahead is needed, i.e. is it 
performance relevant? If so it might be worth tuning.


More information about the Digitalmars-d mailing list