From 13d28145192db0378f96778b980b4971f1f26be3 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sat, 30 Jun 2018 16:49:13 +1000 Subject: [PATCH] Raise example/crc32's buffer size from 16K to 32K This matches the 32K buffer size used by https://github.com/redhotpenguin/perl-Archive-Zip/blob/master/script/crc32 as shipped as /usr/bin/crc32 on Debian --- example/crc32/crc32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/crc32/crc32.cc b/example/crc32/crc32.cc index 7cb963ec..aaa16967 100644 --- a/example/crc32/crc32.cc +++ b/example/crc32/crc32.cc @@ -37,7 +37,7 @@ for a C++ compiler $CXX, such as clang++ or g++. #include "../../gen/c/std/crc32.c" #ifndef SRC_BUFFER_SIZE -#define SRC_BUFFER_SIZE (16 * 1024) +#define SRC_BUFFER_SIZE (32 * 1024) #endif uint8_t src_buffer[SRC_BUFFER_SIZE];