| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION is enabled
|
|
|
|
| |
replaced by ->dictStart
|
|
|
|
| |
replaced by ->prefixStart
|
| |
|
| |
|
|
|
|
|
|
| |
LZ4_STREAMHCSIZE to factor in OS400 pointer length and structure alignment rules
Update the length values on platforms where pointers are 16-bytes, factor in implicit compiler padding to ensure proper alignment of members and overall structure lengths
|
| |
|
| |
|
|
|
|
| |
for better inter-version compatibility
|
|
|
|
| |
align on `void*` instead : there is no `long long` inside the structure
|
|
|
|
|
|
| |
order
ensure correct propagation of LZ4_DISTANCE_MAX
|
| |
|
|
|
|
| |
towards deprecation, but still available and fully supported
|
|
|
|
|
| |
it is now a pure initializer, for statically allocated states.
It can initialize any memory area, and because of this, requires size.
|
|
|
|
|
|
|
|
|
|
| |
- promoted LZ4_resetStream_fast() to stable
- moved LZ4_resetStream() into deprecate, but without triggering a compiler warning
- update all sources to no longer rely on LZ4_resetStream()
note : LZ4_initStream() proposal is slightly different :
it's able to initialize any buffer, provided that it's large enough.
To this end, it accepts a void*, and returns an LZ4_stream_t*.
|
|
|
|
|
|
|
|
| |
- promoted LZ4_resetStreamHC_fast() to stable
- moved LZ4_resetStreamHC() to deprecated (but do not generate a warning yet)
- Updated doc, to highlight difference between init and reset
- switched all invocations of LZ4_resetStreamHC() onto LZ4_initStreamHC()
- misc: ensure `make all` also builds /tests
|
| |
|
|
|
|
|
|
|
| |
which remained undetected so far,
as it requires a fairly large number of conditions to be triggered,
starting with enabling Block checksum, which is disabled by default,
and which usage is known to be extremely rare.
|
|
|
|
| |
as requested in #642
|
|\
| |
| | |
Extend Macro to Allow Publishing Experimental LZ4HC Functions in Dynamic Libraries
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
and lz4hc.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
is expected to work on linux+gcc only.
|
|
|
|
|
|
| |
When using clang++ with std c++14 or c++17 you would get the error "an attribute list cannot appear here" when including "lz4.h" as the visibility attribute is before the c++ attribute.
This ensures that the [[deprecated]] c++ attribute is before everything
else in the function declarations.
|
|
|
|
|
|
|
|
|
|
|
|
| |
lz4opt is only competitive vs lz4hc level 10.
Below that level, it doesn't match the speed / compression effectiveness of regular hc parser.
This patch propose to extend lz4opt to levels 10-12.
The new level 10 tend to compress a bit better and a bit faster than previous one (mileage vary depending on file)
The only downside is that `limitedDestSize` mode is now limited to max level 9 (vs 10),
since it's only compatible with regular HC parser.
(Note : I suspect it's possible to convert lz4opt to support it too, but haven't spent time into it).
|
| |
|
|
|
|
|
| |
LZ4_setCompressionLevel() can be users accross the whole range of HC levels
No more transition issue between Optimal and HC modes
|
|
|
|
|
| |
nbSearches now transmitted directly as function parameter
easier to track and debug
|
|
|
|
| |
levels 11+
|
|
|
|
| |
reduced size of LZ4HC state
|
| |
|
|
|
|
| |
Not obvious : copying the state was copying cdict's compression level
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 25b243588585b06a2d947372284cbfe00da930e9 exported deprecated
symbols declared in lz4.h by marking all LZ4_DEPRECATED functions with
LZ4LIB_API attribute. This change does the same with functions declared
in lz4hc.h file, thus extending the export to lz4hc.h.
As result, the following 17 deprecated functions are exported again:
LZ4_compressHC
LZ4_compressHC2
LZ4_compressHC2_continue
LZ4_compressHC2_limitedOutput
LZ4_compressHC2_limitedOutput_continue
LZ4_compressHC2_limitedOutput_withStateHC
LZ4_compressHC2_withStateHC
LZ4_compressHC_continue
LZ4_compressHC_limitedOutput
LZ4_compressHC_limitedOutput_continue
LZ4_compressHC_limitedOutput_withStateHC
LZ4_compressHC_withStateHC
LZ4_createHC
LZ4_freeHC
LZ4_resetStreamStateHC
LZ4_sizeofStreamStateHC
LZ4_slideInputBufferHC
|
|
|
|
| |
should make the file more compatible with C++ compiler, such as Visual or g++
|
|
|
|
|
| |
It's incompatible with btopt though,
so cLevel >= 11 feature much reduced performance (degraded mode)
|
|
|
|
|
| |
Limits compression level to 10,
to remain compatible with Hash Chain.
|
|
|
|
| |
where are exposed new prototypes *_destSize()
|
| |
|