lz4-java icon indicating copy to clipboard operation
lz4-java copied to clipboard

Remove double byte copy in lz4 unsafe utils

Open Tim-Brooks opened this issue 4 years ago • 0 comments
trafficstars

Currently in LZ4UnsafeUtils#safeIncrementalCopy every byte is copied twice. First the byte is copied using the normal byte array syntax and then the byte is copied using unsafe. Only one of these copies is needed. This commit deletes the non-unsafe copy.

Tim-Brooks avatar Sep 03 '21 18:09 Tim-Brooks