diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-10-23 12:21:32 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-10-23 12:21:32 +0300 |
commit | 23e23f1dc029146714c9a98313ab3ea93d71a2fc (patch) | |
tree | 0cfe7eb720ded56558a078e2461e419ba4057b8b /src/liblzma | |
parent | liblzma: A few ABI tweaks to reserve space in structures. (diff) | |
download | xz-23e23f1dc029146714c9a98313ab3ea93d71a2fc.tar.xz |
liblzma: Use 512 as INDEX_GROUP_SIZE.
This lets compiler use shifting instead of 64-bit division.
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/common/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |