optimizeConfigs method
void
optimizeConfigs(
- dynamic interpreter
Implementation
void optimizeConfigs(interpreter) {
if (readOnly) throw StateError('This set is readonly');
if (configLookup!.isEmpty) return;
for (var config in configs) {
// int before = PredictionContext.getAllContextNodes(config.context).length;
config.context = interpreter!.getCachedContext(config.context);
// int after = PredictionContext.getAllContextNodes(config.context).length;
// System.out.println("configs "+before+"->"+after);
}
}