diff --git a/src/Compression/LZ4_decompress_faster.cpp b/src/Compression/LZ4_decompress_faster.cpp index e3e20e26bbc..52884e1e778 100644 --- a/src/Compression/LZ4_decompress_faster.cpp +++ b/src/Compression/LZ4_decompress_faster.cpp @@ -474,20 +474,12 @@ bool NO_INLINE decompressImpl( if (unlikely(copy_end > output_end)) return false; - std::cout << "ip " << ip << std::endl; - std::cout << "length " << length << std::endl; - std::cout << "diff " << input_end - ip << std::endl; - std::cout << "input_end " << input_end << std::endl; - // Due to implementation specifics the copy length is always a multiple of copy_amount const size_t real_length = std::max(copy_amount, static_cast(std::ceil(static_cast(length) / copy_amount) * copy_amount)); if (unlikely(ip + real_length >= input_end + ADDITIONAL_BYTES_AT_END_OF_BUFFER)) return false; - // if (unlikely(ip + 1 >= input_end)) - // return false; - wildCopy(op, ip, copy_end); /// Here we can write up to copy_amount - 1 bytes after buffer. if (copy_end == output_end)