You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2021/10/05 12:45:00 UTC
[jira] [Created] (LUCENE-10149) ByteBuffersDataInput should
override readShort/Int/Long
Robert Muir created LUCENE-10149:
------------------------------------
Summary: ByteBuffersDataInput should override readShort/Int/Long
Key: LUCENE-10149
URL: https://issues.apache.org/jira/browse/LUCENE-10149
Project: Lucene - Core
Issue Type: Task
Reporter: Robert Muir
ByteBuffersDataInput currently only optimizes the absolute {{readShort(long pos)}}, {{readInt(long pos)}}, {{readLong(long pos)}}.
This is good because these are e.g. used by docvalues.
On the other hand it should also optimize the relative {{readShort()}}, {{readInt()}}, and {{readLong()}} in the same way. In some cases these are performance sensitive too. For example, the postings list compression uses {{readLong()}}.
Looking at the code, this seems to be a simple oversight.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org