Menu

#19 yytext() should (optionally) intern strings

open
nobody
None
5
2006-11-30
2006-11-30
Mike Snare
No

In many cases, the strings being scanned will be known tokens that are repeated many times within a file/input stream. To avoid excessive memory issues, JFlex should have an option to intern strings before returning them out of yytext.

Discussion

MongoDB Logo MongoDB