Open BurtHarris opened 4 years ago
Interesting little optimization, possible because JavaScript Arrays are sparse. Up to 17% improvement in lexer speed. See #467.
@sharwell your feedback would be interesting. I (still) don't understand PredictionContext.EMPTY_FULL_STATE_KEY, and how it is treated in this code.
PredictionContext.EMPTY_FULL_STATE_KEY
Are the other opportunities listed in #467 at all likely to make significant differences?
Interesting little optimization, possible because JavaScript Arrays are sparse. Up to 17% improvement in lexer speed. See #467.
@sharwell your feedback would be interesting. I (still) don't understand
PredictionContext.EMPTY_FULL_STATE_KEY
, and how it is treated in this code.Are the other opportunities listed in #467 at all likely to make significant differences?