[
https://issues.apache.org/jira/browse/LUCENE-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-5884:
---------------------------------------
Attachment: LUCENE-5884.patch
Simple patch: I just made Outputs.ramBytesUsed abstract and fixed its
subclasses to statically compute the "base" bytes used, and then just add in
what's different about each output.
I'd also like to pre-compute the bytes used by the arc cache and save that
away, instead of computing it each time ... next iteration.
> Speed up FST.ramBytesUsed
> -------------------------
>
> Key: LUCENE-5884
> URL: https://issues.apache.org/jira/browse/LUCENE-5884
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 5.0, 4.10
>
> Attachments: LUCENE-5884.patch
>
>
> It's a little heavy now, relying too much on reflection
> (RUE.shallowSizeOf)... and we do this up to 128 times per FST (= per indexed
> field, per segment, for the terms index).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]