uschindler edited a comment on pull request #203: URL: https://github.com/apache/lucene/pull/203#issuecomment-873393920
For further improvements in other files like DocValues random access slices, I added a new (final) method `IndexOutput.alignFilePointer()` that will write the zero-bytes to indexoutput and return the new file pointer. There's also a static helper using the bit-twiddling (which maybe put into the `BitUtils` class). This will simplify similar places in future where we want to add alignment. -- 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. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org 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