lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucene-solr] jpountz commented on a change in pull request #973: LUCENE-9027: Use SIMD instructions to decode postings.
Date Wed, 13 Nov 2019 16:04:19 GMT
jpountz commented on a change in pull request #973: LUCENE-9027: Use SIMD instructions to decode
postings.
URL: https://github.com/apache/lucene-solr/pull/973#discussion_r345847792
 
 

 ##########
 File path: lucene/core/src/java/org/apache/lucene/store/ByteBufferIndexInput.java
 ##########
 @@ -63,7 +69,16 @@ public static ByteBufferIndexInput newInstance(String resourceDescription,
ByteB
     assert chunkSizePower >= 0 && chunkSizePower <= 30;   
     assert (length >>> chunkSizePower) < Integer.MAX_VALUE;
   }
-  
+
+  protected void setCurBuf(ByteBuffer curBuf) {
 
 Review comment:
   I could also build the LongBuffer view on demand if that works better for you. Are you
more worried about CPU, memory or both?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Mime
View raw message