lz4-java
lz4-java copied to clipboard
Remove double byte copy in lz4 unsafe utils
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.