W. Felix Handte
3591fe8ab8
Add Fast Reset Paths
2018-04-19 20:54:35 -04:00
W. Felix Handte
8db291bc1d
Remove Match Upper Bounds Check
2018-04-19 20:54:35 -04:00
W. Felix Handte
8f9a2db0e1
Fix Some Cast/Conversion Warnings
2018-04-19 20:54:35 -04:00
W. Felix Handte
221211d7d0
Fix Offset Math
2018-04-19 20:54:35 -04:00
W. Felix Handte
a1beba13f7
Reset Stream in LZ4_compress_HC
2018-04-19 20:54:35 -04:00
W. Felix Handte
bdd7af6f71
Don't Bother Clearing Chain Table for Working Contexts
2018-04-19 20:54:35 -04:00
W. Felix Handte
895e76cc20
Push Previous Compression Offsets into the Past
2018-04-19 20:54:35 -04:00
W. Felix Handte
22db704a73
Shift Dict Limit Checks out of the Loop
2018-04-19 20:54:35 -04:00
W. Felix Handte
4f7b7a8ffa
Clear Tables on Dict Load
2018-04-19 20:54:35 -04:00
W. Felix Handte
b88a0b4e88
Only Perform Dict Lookup if Attempts Remain
2018-04-19 20:54:35 -04:00
W. Felix Handte
b6c35ed642
Avoid Resetting Chain Table
2018-04-19 20:54:35 -04:00
W. Felix Handte
595ea58289
Avoid Resetting Hash Table
2018-04-19 20:54:35 -04:00
W. Felix Handte
66d217e240
Perform Lookups into the Dictionary Context
2018-04-19 20:54:35 -04:00
W. Felix Handte
6289ff4fb1
Call LZ4F_applyCDict Even on NULL CDict
2018-04-19 20:54:35 -04:00
W. Felix Handte
fdeead0b09
Set dictCtx Rather than memcpy'ing Ctx
2018-04-19 20:54:35 -04:00
W. Felix Handte
a992d11fc2
Fully Bounds Check Hash Table Reads
2018-04-19 20:54:35 -04:00
W. Felix Handte
f895b9a6c6
Add a Dictionary Context Pointer to the HC Context
2018-04-19 20:54:35 -04:00
W. Felix Handte
e75153f508
Add Debug Log Statements to HC
2018-04-19 20:54:35 -04:00
Yann Collet
62d7cdcc74
Merge pull request #503 from lz4/l120
...
minor length reduction of several large lines
2018-04-19 11:50:20 -07:00
Yann Collet
dede47f13b
Merge pull request #502 from lhacc1/dev
...
Wrap likely/unlikely macroses with #ifndef
2018-04-19 10:52:48 -07:00
Yann Collet
46058d71aa
modified indentation for consistency
2018-04-19 10:50:40 -07:00
Yann Collet
4785bd6a35
minor length reduction of several large lines
2018-04-18 16:49:27 -07:00
Dmitrii Rodionov
ea6ed46fc2
Wrap likely/unlikely macroses with #ifndef
...
It prevent redefine error when project using lz4 has its own likely/unlikely
macroses.
2018-04-18 12:20:56 +03:00
Yann Collet
5ad4599c5a
fixed LZ4_compress_fast_extState_fastReset() in 32-bit mode
2018-04-17 16:47:56 -07:00
Yann Collet
88cca1723e
fix dictDelta setting error
...
wrong test
2018-04-17 16:18:37 -07:00
Yann Collet
1520642183
fix matchIndex overflow
...
can happen with dictCtx
2018-04-17 15:29:17 -07:00
Yann Collet
ce78d10c1f
Merge branch 'dev' into lowAddr
2018-04-17 12:07:22 -07:00
W. Felix Handte
aedc447804
Always Bump Offset by 64 KB in LZ4_loadDict()
...
This actually ensures the guarantee referred to in the comment in
LZ4_compress_fast_continue().
2018-04-17 14:09:00 -04:00
Yann Collet
da3b5ba6f0
fixed dictCtx compression
2018-04-16 23:59:42 -07:00
Yann Collet
444211d259
edited a few traces for debugging
2018-04-16 17:16:08 -07:00
Yann Collet
a3aeb34184
fixed minor format warnings
2018-04-16 16:54:03 -07:00
Yann Collet
e928064797
fixed gcc performance regression
2018-04-16 15:11:28 -07:00
Yann Collet
d2bcfa31f5
fixed minor unused variable warning
2018-04-13 02:45:32 -07:00
Yann Collet
c40bac31d3
added comment on variables required after _next_match
2018-04-13 02:26:14 -07:00
Yann Collet
54ec83ce1f
fixed potential ptrdiff_t overflow (32-bits mode)
...
Also removed pointer comparison, which should solve #485
2018-04-13 02:10:53 -07:00
Cyan4973
57afa36795
compatibility with gcc-4.4 string.h version
...
Someone found it would be a great idea to define there a global variable under the very generic name "index".
Cause problem with shadow warnings, so no variable can be named "index" now ...
Also : automatically update API manual
2018-04-13 01:01:54 -07:00
test4973
db9aa785c5
fixed : counting matches which overlap extDict and prefix
2018-04-12 16:12:21 -07:00
test4973
8af32ce6f7
modified a few traces for debug
2018-04-12 13:35:19 -07:00
test4973
1838803948
fixed LZ4_compress_fast_extState_fastReset()
2018-04-11 16:49:40 -07:00
test4973
b183066793
Merge branch 'dev' into lowAddr
2018-04-11 16:45:19 -07:00
W. Felix Handte
056ea63215
Fix Silly Warning (const-ness in declaration has no effect on value types!)
2018-04-11 18:42:09 -04:00
W. Felix Handte
51a56c47c0
Minor Fixes
2018-04-11 18:06:48 -04:00
W. Felix Handte
3a0c571272
Add a LZ4_STATIC_LINKING_ONLY Macro to Guard Experimental APIs
2018-04-11 18:06:10 -04:00
W. Felix Handte
afa52c9b95
Expose dictCtx Functionality in LZ4
2018-04-11 16:28:56 -04:00
W. Felix Handte
21f0c9700b
Rename _extState_noReset -> _extState_fastReset and Edit Comments
2018-04-11 15:13:01 -04:00
W. Felix Handte
c18bff933b
Remove Extraneous Assignment (clearedTable == 0)
2018-04-11 15:12:34 -04:00
W. Felix Handte
59c7d95121
Expose a Faster Stream Reset Function
2018-04-10 13:26:17 -04:00
test4973
cf2f06a6c5
fixed minor conversion warning
...
ptr diff -> U32
2018-04-09 17:08:17 -07:00
test4973
b28abb9f18
Merge branch 'dev' into lowAddr
2018-04-09 16:23:39 -07:00
W. Felix Handte
f88dc90055
Avoid Calling LZ4_prepareTable() in LZ4_compress_fast_continue()
2018-04-09 16:17:33 -04:00