[
https://issues.apache.org/jira/browse/LUCENE-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048606#comment-13048606
]
Michael McCandless commented on LUCENE-3196:
--------------------------------------------
Looks good Simon!
Probably other smallish sizes (2, 3, 4, ...) could be a single array too, ie
paged or not should be separately controllable, but we can do that later; this
is a great baby step since we need this for norms cutover.
Do we have a test (eg a random test that picks random fixed byte[] size) that
covers this...?
> Optimize FixedStraightBytes for bytes size == 1
> -----------------------------------------------
>
> Key: LUCENE-3196
> URL: https://issues.apache.org/jira/browse/LUCENE-3196
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/index, core/search
> Affects Versions: 4.0
> Reporter: Simon Willnauer
> Assignee: Simon Willnauer
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-3196.patch
>
>
> Currently we read all the bytes in a PagedBytes instance wich is unneeded for
> single byte values like norms. For fast access this should simply be a
> straight array.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]