[
https://issues.apache.org/jira/browse/LUCENE-5959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless resolved LUCENE-5959.
----------------------------------------
Resolution: Fixed
Fix Version/s: 6.0
5.0
Assignee: Michael McCandless
Thanks Markus!
> Optimized memory management in Automaton.Builder.finish()
> ---------------------------------------------------------
>
> Key: LUCENE-5959
> URL: https://issues.apache.org/jira/browse/LUCENE-5959
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/other
> Affects Versions: 4.10
> Reporter: Markus Heiden
> Assignee: Michael McCandless
> Priority: Minor
> Labels: patch, performance
> Fix For: 5.0, 6.0
>
> Attachments: Automaton.diff, finish.patch
>
>
> Reworked Automaton.Builder.finish() to not allocate memory stepwise. Added
> growTransitions(int numTransitions) to be able to resize the transistions
> array just once.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]