mccullocht opened a new pull request, #15065: URL: https://github.com/apache/lucene/pull/15065
Unroll the decoding loop and bound it -- bytes beyond the 5th (int) or 10th (long) can only contain overflow values, and are subject to truncation of the shift value (at `bitsize(target)`). Benchmarks run on an M2 Mac. Before: ``` ``` After: ``` ``` -- 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