lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3196) Optimize FixedStraightBytes for bytes size == 1
Date Mon, 13 Jun 2011 15:53:51 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message