[antlr-interest] parser/lexer invocation: performance/optimization question
madcapmaggie at yahoo.com
Tue Jun 8 15:09:33 PDT 2004
I have a parser/lexer that is repeatedly invoked to parse a
succession of strings.
The current implementation is that the application invokes a routine
that does something like:
string source("Your input text");
This routine is invoked literally thousands of times.
I'd like to be able to the setup (above) once in a constructor and
just invoke the parser multiple times on the strings as I would like
to avoid the overhead in the initialization.
Is there any way to do this? Nothing I've tried so far has worked.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
More information about the antlr-interest