gf2121 opened a new pull request #592:
URL: https://github.com/apache/lucene/pull/592
Today, we do not rewrite `#readVInt` and `#readVLong` for
`ByteBufferIndexInput`. By default, the logic will call `#readByte` several
times, and we need to check whether `ByteBuffer` is valid every time.
Feng Guo created LUCENE-10366:
-
Summary: Reduce the number of valid checks for
ByteBufferIndexInput#readVInt
Key: LUCENE-10366
URL: https://issues.apache.org/jira/browse/LUCENE-10366
Project: Lucene -
[
https://issues.apache.org/jira/browse/LUCENE-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17471315#comment-17471315
]
Robert Muir commented on LUCENE-8739:
-
We already have a compression abstraction in lucene: