lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/LUCENE-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048615#comment-13048615
] 

Simon Willnauer commented on LUCENE-3196:
-----------------------------------------

bq. Do we have a test (eg a random test that picks random fixed byte[] size) that covers this...?
yes the fixed length is selected at random in the tests I fixed that in the patch too.

> 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