Bruno Roustant created LUCENE-9125:
--------------------------------------
Summary: Improve Automaton.step() with binary search and introduce
Automaton.next()
Key: LUCENE-9125
URL: https://issues.apache.org/jira/browse/LUCENE-9125
Project: Lucene - Core
Issue Type: Improvement
Reporter: Bruno Roustant
Implement the existing todo in Automaton.step() (lookup a transition from a
source state depending on a given label) to use binary search since the
transitions are sorted.
Introduce new method Automaton.next() to optimize iteration & lookup over all
the transitions of a state. This will be used in RunAutomaton constructor and
in MinimizationOperations.minimize().
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]