summaryrefslogtreecommitdiff
path: root/ccache.h
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2016-07-30 15:27:27 +0200
committerJoel Rosdahl <joel@rosdahl.net>2016-07-30 15:27:27 +0200
commit16eb261cde99571dc9a9fc28f53a2c2380716ba2 (patch)
tree871d0c1d4230a71e2a35c562a96b4b2488d30e36 /ccache.h
parentd68445735d40cb887132ab4dbe57ce54f233891c (diff)
downloadccache-16eb261cde99571dc9a9fc28f53a2c2380716ba2.tar.gz
Decrease read buffer size to 64 KiB
Diffstat (limited to 'ccache.h')
-rw-r--r--ccache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccache.h b/ccache.h
index d01eae08..7b29bb8c 100644
--- a/ccache.h
+++ b/ccache.h
@@ -75,8 +75,8 @@ enum stats {
(strlen(s) >= strlen(suffix) \
&& str_eq((s) + strlen(s) - strlen(suffix), (suffix)))
-// Buffer size for I/O operations.
-#define READ_BUFFER_SIZE (1 << 18)
+// Buffer size for I/O operations. Should be a multiple of 4 KiB.
+#define READ_BUFFER_SIZE 65536
// ----------------------------------------------------------------------------
// args.c