[antlr-dev] Re: [antlr-interest] generating cyclic state
machines in Java
Martin Probst
mail at martin-probst.com
Thu Feb 9 15:00:03 PST 2006
> I hope! I am also going to probably allocate one big 1D array and
> then simulate the 2D array rather than let it create n arrays for n
> DFA states. Slows down GC etc...
The two rules of optimisation:
1. Don't do it
2. (for experts) Don't do it yet
Why not get a working system and benchmark it first? In my experience
the JIT & friends always behave different from what you'd expect ...
Martin
More information about the antlr-interest
mailing list