summaryrefslogtreecommitdiffstats
path: root/lib/lz4.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-09-25 21:43:19 (GMT)
committerYann Collet <cyan@fb.com>2018-09-25 21:43:19 (GMT)
commitc4c19c74b8c7208bff29048b1a0d35b06accd8ac (patch)
tree0cf73b95ad85a14fe26ba529f246d986175acf8f /lib/lz4.h
parent6381d828fda08f9eb621265e6904d0b0dd400c31 (diff)
downloadlz4-c4c19c74b8c7208bff29048b1a0d35b06accd8ac.zip
lz4-c4c19c74b8c7208bff29048b1a0d35b06accd8ac.tar.gz
lz4-c4c19c74b8c7208bff29048b1a0d35b06accd8ac.tar.bz2
changed LZ4_streamDecode member order
to reduce memory usage on 128-bits systems
Diffstat (limited to 'lib/lz4.h')
-rw-r--r--lib/lz4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4.h b/lib/lz4.h
index 639797a..4d30857 100644
--- a/lib/lz4.h
+++ b/lib/lz4.h
@@ -535,8 +535,8 @@ struct LZ4_stream_t_internal {
typedef struct {
const unsigned char* externalDict;
- size_t extDictSize;
const unsigned char* prefixEnd;
+ size_t extDictSize;
size_t prefixSize;
} LZ4_streamDecode_t_internal;