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

Walter Bright newshound2 at digitalmars.com
Wed Sep 11 21:58:20 PDT 2013


On 9/11/2013 7:21 PM, Martin Nowak wrote:
> 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.

No, I don't have a rough idea, but it doesn't show up in the profile.


More information about the Digitalmars-d mailing list