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

Robert Muir commented on LUCENE-6504:
-------------------------------------

{quote}
There are some unrelated changes in ByteBufferIndexInput: You removed the 
offset=0 implementation. Did you find out that this optimization for offset=0 
brings no additional performance?
{quote}

Its not unrelated, i did extensive benchmarking. That optimization is a trap, 
allowing too many low level implementations (3) once the index gets large. 

> implement norms with random access API
> --------------------------------------
>
>                 Key: LUCENE-6504
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6504
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-6504.patch
>
>
> We added this api in LUCENE-5729 but we never explored implementing norms 
> with it. These are generally the largest consumer of heap memory and often a 
> real hassle for users.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to