[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to