uschindler edited a comment on pull request #2176:
URL: https://github.com/apache/lucene-solr/pull/2176#issuecomment-754304561


   This would also explain slowdowns on *short* posting-list iterations, as 
readLELongs() with smaller number of longs is not working well.
   
   My plan would be to do an if statement at beginning of readBytes() or 
readLELongs() like:
   ```java
   if (length < SOME_LIMIT) {
     for (int i = offset; i< offset + length; i++) {
       bytes[i] = readByte();
     }
   } else {
     ... current code with targetSlice ...
   }
   ```


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to