costin commented on pull request #453: URL: https://github.com/apache/lucene/pull/453#issuecomment-974257210
To see how VHLB behaves without the branch conditional (for bpv < 56) I've created removed the endBits field and related codepath from `get` and `set`. With it the benchmark becomes: ``` Benchmark (bpv) (size) Mode Cnt Score Error Units Packed64Benchmark.packed64VarHandleLongByte_Consecutive 47 10240 thrpt 3 16746.842 ± 2978.916 ops/s Packed64Benchmark.packed64VarHandleLongByte_Sparse 47 10240 thrpt 3 31318.413 ± 639.686 ops/s Packed64Benchmark.packed64VarHandleLongLong_Consecutive 47 10240 thrpt 3 40157.645 ± 612.249 ops/s Packed64Benchmark.packed64VarHandleLongLong_Sparse 47 10240 thrpt 3 37980.091 ± 373.676 ops/s Packed64Benchmark.packed64_Consecutive 47 10240 thrpt 3 43703.192 ± 993.999 ops/s Packed64Benchmark.packed64_Sparse 47 10240 thrpt 3 41365.544 ± 1254.313 ops/s ``` -- 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