More optimizations for deflate_compress_lazy()