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

Robert Muir commented on LUCENE-5352:
-------------------------------------

Well at the least I think the reader just does way more work than is necessary: 
its calling readLong() each time even for a low BPV.

> PackedInts.fastestFormatAndBits returns slower format for Direct
> ----------------------------------------------------------------
>
>                 Key: LUCENE-5352
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5352
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> from some simple testing, DirectPacked64SingleBlockReader seems slower than 
> DirectPackedReader (at least in a few cases i tested, more testing needed, 
> but look at the code).
> this is unintuitive, because by passing e.g. FASTER you are making it slower.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to