lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Re: Automata and Transducer on Lucene 6
Date Wed, 19 Apr 2017 06:39:15 GMT
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message