[metaas-dev] Re: Unicode identifiers (Was: No viable alternative
error)
David Holroyd
dave at badgers-in-foil.co.uk
Fri Mar 23 08:25:47 UTC 2007
On Wed, Mar 07, 2007 at 11:50:05AM +0000, David Holroyd wrote:
> My hope is that all the additional cost is paid in the call,
>
> new AS3Lexer(..)
>
> and that by caching the lexer instance and reusing it, things will
> perform just as they did before, even with all of the aditional
> characters which are supported. (The lexer in not thread-safe, so there
> can't just be a singleton instance shared by the whole app.)
I've just seen a message on antlr-interest where Ter talks about some
new optimisations in antlr-03-22-2007.18.tar.gz which might actually
address the slowdown I noticed. Will try to take a look over the
weekend.
ta,
dave
--
http://david.holroyd.me.uk/
More information about the metaas-dev
mailing list