[ 
https://issues.apache.org/jira/browse/LUCENE-9125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018049#comment-17018049
 ] 

Michael McCandless commented on LUCENE-9125:
--------------------------------------------

{quote}Here is the benchmark for wikimediumall:
{quote}
Thanks – these results look more realistic!  Looks like mostly noise ...

The Automaton queries only use the {{step}} API while constructing the 
{{RunAutomaton}} which is then used to (quickly) walk the transitions right?

> 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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to