You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/03/05 14:58:33 UTC

[GitHub] [lucene-solr] rmuir commented on pull request #2457: LUCENE-9824: Hunspell suggestions: speed up ngram score calculation for each dictionary entry

rmuir commented on pull request #2457:
URL: https://github.com/apache/lucene-solr/pull/2457#issuecomment-791471797


   > The latter is ~10% faster, so there's some difference. `RunAutomaton.step` has a constant-time array access branch, and it's taken quite often, it seems.
   
   good, thanks for checking. as long as we run enough strings against it for that up-front cost to be a win. and yeah, for latin-1 it will still be tableized for each input and very fast.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org