projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613939f
)
liblzma: Use 512 as INDEX_GROUP_SIZE.
author
Lasse Collin
<lasse.collin@tukaani.org>
Sat, 23 Oct 2010 09:21:32 +0000
(12:21 +0300)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Sat, 23 Oct 2010 09:21:32 +0000
(12:21 +0300)
This lets compiler use shifting instead of 64-bit division.
src/liblzma/common/index.c
patch
|
blob
|
history
diff --git
a/src/liblzma/common/index.c
b/src/liblzma/common/index.c
index
3941e28
..
ddb9d36
100644
(file)
--- 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 5
00
+#define INDEX_GROUP_SIZE 5
12
/// \brief How many Records can be allocated at once at maximum