]> git.tukaani.org - xz-java.git/commit

git.tukaani.org - xz-java.git/commit

git git.tukaani.org / xz-java.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cd460b8) | patch
Avoid an unneeded arraycopy in UncompressedLZMA2OutputStream master
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>
src/org/tukaani/xz/UncompressedLZMA2OutputStream.java diff | blob | history
XZ for Java
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /