costin opened a new pull request #453:
URL: https://github.com/apache/lucene/pull/453
Add VarHandle variants for `Packed64` to investigate whether using
VarHandles
improved performance or not.
This PR introduces two new Packed64 variants:
~ Packed64LongLong
Same as Packed64 however instead of using direct array access, it
relies on `VarHandle`. It's main purpose benchmarking.
~ Packed64LongByte
A different implementation of Packed64 backed by a byte[]. It reads the data
as a
long and in case of overflow reads an extra byte. The algorithm is slightly
different
since the overflowing bits need to be computed on a different block size (8
vs 64)
which requires extra cycles.
Related LUCENE-10205
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]