You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/07/03 11:35:35 UTC

[GitHub] [lucene] uschindler edited a comment on pull request #203: LUCENE-10019: Align file starts in CFS files to have proper alignment (8 bytes)

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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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