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
This commit is contained in:
Nigel Tao committed 2018-06-30 16:49:13 +10:00
1 parent 8cfb2cc6eb
commit 13d2814519
1 file changed
+1 -1
+1 -1
View File
@@ -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];