[metaas-dev] Re: Unicode identifiers
David Holroyd
dave at badgers-in-foil.co.uk
Fri Mar 30 23:43:50 UTC 2007
On Sat, Mar 24, 2007 at 09:49:24PM +0000, David Holroyd wrote:
> On Fri, Mar 23, 2007 at 08:25:47AM +0000, David Holroyd wrote:
> > 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(..)
> > 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.
>
> Current ANTLR builds have problems with the AS3 grammar :(
So, originally, adding the unicode identifier stuff to the grammar made
the time to complete the metaas unit tests increase from about 5 seconds
to about 30.
With the latest ANTLR build, optimisations to Parser / Lexer
initialisation mean that the tests now run in *less* than 5 seconds,
even with the complicated new rules in place :)
I am using,
http://www.antlr.org/download/build/antlr-03-30-2007.14.tar.gz
at the moment.
ta,
dave
--
http://david.holroyd.me.uk/
More information about the metaas-dev
mailing list