> One small correction: we moved away from objects to more compact int[] a > while ago for our automata implementation.
Right, forgot about that. There are still some trappy object-heavy utilities like this one: https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/util/automaton/Automaton.java#L127-L129 and the API is using objects (Transition) for an 'inout' mutable holder type which may be confusing at first (but is unavoidable in Java). Dawid --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org