Open merlimat opened 5 years ago
@odaira Can you take a look at this? It's on the same line as what described in #106
@odaira Any chance on this one? :)
@merlimat Sorry for the slow process. I'll include this to 1.6.0 once the review is done.
👍 Thanks!
Sorry, I must release 1.6.0 as soon as possible, so let me push this off until 1.7.0.
Any plans on merging this?
+1
Our case is to compress/decompress blocks of memory where both source and destination are allocated with Unsafe.allocateMemory().
In same case it might beneficial to be able to compress/decompress from direct memory buffer that don't necessarily belong to a
ByteBuffer
instance.In that case it's possible, in unsafe Java world, to have a long that represent a pointer to a memory location. Passing that through JNI would be the most efficient way to compress that data.