|[5 earlier articles]|
|Re: Lex surrogates firstname.lastname@example.org (Ken Yap) (1989-02-09)|
|Re: Lex surrogates email@example.com (1989-02-09)|
|Re: Lex surrogates tower@bu-cs.BU.EDU (1989-02-10)|
|Re: Lex surrogates firstname.lastname@example.org (1989-02-11)|
|Re: Lex surrogates email@example.com (Henry Spencer) (1989-02-11)|
|Re: Lex surrogates firstname.lastname@example.org (Ric Holt) (1989-02-13)|
|Re: Lex surrogates email@example.com (1989-02-16)|
|Re: Lex surrogates firstname.lastname@example.org (1989-02-17)|
|Date:||Thu, 16 Feb 89 06:10:11 EST|
>>The stuff lex puts in yytext also changes for each terminal, and hence
>>also must be saved immediately if you want to use it. I don't understand
>>why the lack of copying makes a practical difference.
>In a FAST scanner, every machine instruction counts...
Agreed, and I think FLEX does the right thing by not copying -- there
never was a good reason for it, except that LEX was a quick hack that
didn't ever get worked over properly for performance.
The original discussion was about how it affected the programming
semantics, not the performance, though, which is why I said what I did.
Henry Spencer at U of Toronto Zoology
Return to the
Search the comp.compilers archives again.