From 23e23f1dc029146714c9a98313ab3ea93d71a2fc Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 23 Oct 2010 12:21:32 +0300 Subject: [PATCH] liblzma: Use 512 as INDEX_GROUP_SIZE. This lets compiler use shifting instead of 64-bit division. --- src/liblzma/common/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liblzma/common/index.c b/src/liblzma/common/index.c index 3941e28b..ddb9d364 100644 --- a/src/liblzma/common/index.c +++ b/src/liblzma/common/index.c @@ -18,7 +18,7 @@ /// /// This should be big enough to avoid making lots of tiny allocations /// but small enough to avoid too much unused memory at once. -#define INDEX_GROUP_SIZE 500 +#define INDEX_GROUP_SIZE 512 /// \brief How many Records can be allocated at once at maximum