git.tukaani.org - xz-java.git/commit
2025年10月29日 13:06:05 +0000 (15:06 +0200)
2025年10月29日 13:06:05 +0000 (15:06 +0200)
commit 74e42f4c36e4549d2b031559ab2c7cfdde2682f0
Avoid an unneeded arraycopy in UncompressedLZMA2OutputStream
If uncompBuf is empty and UncompressedLZMA2OutputStream.write is called
with len >= 64 KiB, then a full LZMA2 chunk can be copied directly from
the input buffer to the output stream. This can improve speed by a tiny
amount in specific use cases.
Suggested-by: Daniel Wilhelm <wilhelm@appwork.org>