[PR] Add GrowableByteArrayDataOutput [lucene]

2023-11-18 Thread via GitHub
dungba88 opened a new pull request, #12824: URL: https://github.com/apache/lucene/pull/12824 ### Description Spawn out of #12624 This DataOutput is meant to replace BytesStore. I wasn't sure if it could be useful outside of FST, but as it's only a general purpose DataOutput ba

Re: [PR] Use group-varint encoding for the tail of postings [lucene]

2023-11-18 Thread via GitHub
easyice commented on code in PR #12782: URL: https://github.com/apache/lucene/pull/12782#discussion_r1398242374 ## lucene/benchmark-jmh/src/java/org/apache/lucene/benchmark/jmh/GroupVIntBenchmark.java: ## @@ -0,0 +1,150 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [PR] Use group-varint encoding for the tail of postings [lucene]

2023-11-18 Thread via GitHub
easyice commented on PR #12782: URL: https://github.com/apache/lucene/pull/12782#issuecomment-1817536690 Wow, what an incredible speedup! I would not have expected bulk decoding with read directly is so much faster than read from array, Thank you for your time, and I'm sorry i didn't try t