aboutsummaryrefslogtreecommitdiff
path: root/lib/lz4hc.c
AgeCommit message (Collapse)Author
2018-09-05removed one assert() conditionYann Collet
which is not correct when using LZ4_HC with dictionary and starting from a low address (<0x10000).
2018-09-04fixed #560Yann Collet
it was a fairly complex scenario, involving source files > 64K and some extraordinary conditions related to specific layout of ranges of zeroes. and only on level 9.
2018-05-07renamed variable for clarityYann Collet
2018-05-06fixed minor conversion warningYann Collet
2018-05-06small PA optimizationYann Collet
which measurably improves speed on levels 9+
2018-05-05lz4hc: fixed PA / SC parameter orderYann Collet
also : reserved PA for levels 9+ (instead of 8+). In most cases, speed is lower, and compression benefit is not worth.
2018-05-05lz4hc: SC only enabled for opt parserYann Collet
the trade off is not good for regular HC parser : compression is a little bit better, but speed cost is too large in comparison.
2018-05-05fixed SC.opt integration with regular HC parserYann Collet
Only enabled when searching forward. note : it slighly improves compression ratio, but measurably decreases speed. Trade-off to analyse.
2018-05-05lz4hc: fixed performance issueYann Collet
when combining both PA and CS optimizations
2018-05-04integrated chain swapper into HC match finderYann Collet
slower than expected Pattern analyzer and Chain Swapper work slower when both activated. Reasons unclear.
2018-05-03implemented search acceleratorYann Collet
greatly improves speed compared to non-accelerated, especially for slower files. On my laptop, -b12 : ``` calgary.tar : 4.3 MB/s => 9.0 MB/s enwik7 : 10.2 MB/s => 13.3 MB/s silesia.tar : 4.0 MB/s => 8.7 MB/s ``` Note : this is the simplified version, without handling dictionaries, external buffer, nor pattern analyzer. Current `dev` branch on these samples gives : ``` calgary.tar : 4.2 MB/s enwik7 : 9.7 MB/s silesia.tar : 3.5 MB/s ``` interestingly, it's slower, presumably due to handling of dictionaries.
2018-05-03created LZ4HC_FindLongestMatch()Yann Collet
simplified match finder only searching forward and within current buffer, for easier testing of optimizations.
2018-05-02increased nbAttempts for lz4 -12Yann Collet
shaves one more kilobyte from silesia.tar
2018-04-30Merge pull request #521 from lz4/BD_deterministicYann Collet
fix lz4hc -BD non-determinism
2018-04-30renamed variable for clarityCyan4973
lowLimit -> lowestMatchIndex
2018-04-30lz4hc changed variableYann Collet
to reduce confusion dictLowLimit => dictStart
2018-04-27Merge pull request #520 from felixhandte/frame-dict-nitsYann Collet
Minor Fixes to Dictionary Preparation in LZ4 Frame
2018-04-27Merge branch 'dev' into BD_deterministicYann Collet
2018-04-27fix lz4hc -BD non-determinismYann Collet
related to chain table update
2018-04-27lz4hc : minor editions for clarityYann Collet
2018-04-27Avoid Possibly Redundant Table Clears When Loading HC DictW. Felix Handte
2018-04-27ensure favorDecSpeed is properly initializedYann Collet
also : - fix a potential malloc error - proper use of ALLOC macro inside lz4hc - update html API doc
2018-04-26fixed a number of minor cast warningsYann Collet
2018-04-26fasterDecSpeed can be triggered from cli with --favor-decSpeedYann Collet
2018-04-26favorDecSpeed feature can be triggered from lz4frameYann Collet
and lz4hc.
2018-04-26introduced ability to parse for decompression speedYann Collet
triggered through an enum. Now, it's still necessary to properly expose this capability all the way up to the cli.
2018-04-24Remove Debug Log StatementsW. Felix Handte
2018-04-20Change vLimit CalculationW. Felix Handte
2018-04-20Remove Redundant Static AssertW. Felix Handte
2018-04-20Simpler loadDict() ResetW. Felix Handte
2018-04-20Tolerate Base Pointer UnderflowW. Felix Handte
2018-04-20Don't Segfault on Malloc FailureW. Felix Handte
2018-04-20Sign-Extend -1 to Pointer WidthW. Felix Handte
2018-04-20Fix Constant ValueW. Felix Handte
2018-04-20Handle Index Underflows SafelyW. Felix Handte
2018-04-20Consts and Asserts and Other Minor NitsW. Felix Handte
2018-04-20Add API for Attaching DictionariesW. Felix Handte
2018-04-20Also Reset the Chain TableW. Felix Handte
2018-04-20Remove inputBuffer from Context, Work Around its AbsenceW. Felix Handte
2018-04-20Remove Commented Out Support for Match Continuation over Segment BoundaryW. Felix Handte
2018-04-19Fix Signedness of ComparisonW. Felix Handte
2018-04-19Don't Clear the Dictionary Context Until No Longer UsefulW. Felix Handte
2018-04-19Copy DictCtx into Working Context on Inputs Larger than 4 KBW. Felix Handte
2018-04-19Force Inline on HashChainW. Felix Handte
2018-04-19Split DictCtx-using Code Into Separate Inlining ChainW. Felix Handte
2018-04-19Add Fast Reset PathsW. Felix Handte
2018-04-19Remove Match Upper Bounds CheckW. Felix Handte
2018-04-19Fix Some Cast/Conversion WarningsW. Felix Handte
2018-04-19Fix Offset MathW. Felix Handte
2018-04-19Reset Stream in LZ4_compress_HCW. Felix Handte