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/09 15:55:00 UTC
[jira] [Resolved] (LUCENE-10150) ByteBuffersDataInput should
override readLongs?
[ https://issues.apache.org/jira/browse/LUCENE-10150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-10150.
----------------------------------
Fix Version/s: main (9.0)
Resolution: Fixed
> ByteBuffersDataInput should override readLongs?
> -----------------------------------------------
>
> Key: LUCENE-10150
> URL: https://issues.apache.org/jira/browse/LUCENE-10150
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Robert Muir
> Priority: Major
> Fix For: main (9.0)
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> This DataInput optimizes readFloats() with a FloatBuffer view, but does nothing for readLongs().
> Currently readLongs() will read the entire array one-byte-at-a-time.
> With LUCENE-10149, it will go eight-bytes-at-a-time.
> But we could override this method and optimize it further, to reduce bounds checks and speed up postings.
--
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