You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Heiden (JIRA)" <ji...@apache.org> on 2014/09/18 12:36:33 UTC
[jira] [Issue Comment Deleted] (LUCENE-5960) Avoid grow of Set in
AnalyzingSuggester.topoSortStates(Automaton)
[ https://issues.apache.org/jira/browse/LUCENE-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Heiden updated LUCENE-5960:
----------------------------------
Comment: was deleted
(was: Patch with suggested changes.)
> Avoid grow of Set in AnalyzingSuggester.topoSortStates(Automaton)
> -----------------------------------------------------------------
>
> Key: LUCENE-5960
> URL: https://issues.apache.org/jira/browse/LUCENE-5960
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/other
> Affects Versions: 4.10
> Reporter: Markus Heiden
> Priority: Minor
> Labels: patch
> Attachments: AnalyzingSuggester.diff
>
>
> Initially size HashSet "visited" correctly in AnalyzingSuggester.topoSortStates(Automaton). This avoids dynamic resizing of the set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org