Request for comments: std.d.lexer

Walter Bright newshound2 at digitalmars.com
Mon Jan 28 11:15:37 PST 2013


On 1/28/2013 3:34 AM, Mehrdad wrote:
> On Monday, 28 January 2013 at 11:01:49 UTC, Walter Bright wrote:
>> On 1/28/2013 2:16 AM, dennis luehring wrote:
>>> Am 28.01.2013 11:13, schrieb Walter Bright:
>>>> On 1/28/2013 1:30 AM, Mehrdad wrote:
>>>>> I'm wondering if there's any way to make it independent of the code/grammar
>>>>
>>>> Just run under a profiler, then fix the hot spots.
>>>>
>>>
>>> mehrdad speaks about benchmarking not optimization :)
>>
>> I know. But profiling is how you make it fast. Lexers should be as fast as
>> possible, not merely faster than the competition.
>
>
>
> I was talking about parsers actually :| on a second thought maybe I shouldn't
> have asked that on a thread about lexing...

Same comment applies.


More information about the Digitalmars-d mailing list