[
https://issues.apache.org/jira/browse/LUCENE-9125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018125#comment-17018125
]
Bruno Roustant commented on LUCENE-9125:
----------------------------------------
{quote}The Automaton queries only use the {{step}} API while constructing the
{{RunAutomaton}}
{quote}
Correct. Automaton.step() was also used in the minimize() Operation, which is
now a bit faster.
> 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
> Assignee: Bruno Roustant
> Priority: Major
> Fix For: 8.5
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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]