forked from jasder/antlr
add TODO
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9478]
This commit is contained in:
parent
3b7e984d5f
commit
eb6443b32b
|
@ -136,6 +136,7 @@ public class ATNState {
|
|||
|
||||
//lexer atn sim: getEpTar: 13.2%
|
||||
// ruleCtx.equals 10%
|
||||
// TODO: Sam says this takes a lot of time; optimize
|
||||
public boolean onlyHasEpsilonTransitions() { // 22% time
|
||||
if ( epsilonOnlyTransitions>=0 ) return epsilonOnlyTransitions==1;
|
||||
if ( transitions.size()==0 ) return false;
|
||||
|
|
Loading…
Reference in New Issue