Yann Collet
550b40849f
merge lz4opt.h into lz4hc.c
...
Having a dedicated file for optimal parser
made sense during its creation,
it allowed Przemyslaw to work more freely on lz4opt, with less dependency on lz4hc,
moreover, the optimal parser was more complex, with its own search functions.
Since the optimal was rewritten last year, it's now a lot lighter.
It makes more sense now to integrate it directly inside lz4hc.c,
making it easier to edit (editors are a bit "lost" inside a `*.h` dependent on its #include position),
it also reduces the number of files in the project,
which fits pretty well with lz4 objectives.
(adding lz4hc requires "just" lz4hc.h and lz4hc.c).
2018-02-25 00:32:09 -08:00
Yann Collet
886a485845
examples/Makefile : changed dependency order
...
static library *.a must come after source files *.c on linux
2018-01-31 23:17:52 -08:00
Yann Collet
1acca240a9
ensure proper dependencies are built for /examples
...
also : use liblz4.a static lib to share compilation time
2018-01-31 16:11:45 -08:00
Yann Collet
810e2ca27b
minor improvements to examples
...
cosmetic : better display
added optional variable MOREFLAGS
2017-09-11 10:25:47 -07:00
Yann Collet
775e63ee01
refactored simple_buffer.c example ( #363 )
2017-06-08 12:51:56 -07:00
Nick Terrell
94917c9a04
Add dictionary random access example
2016-11-09 17:39:56 -08:00
Georg Sauthoff
681d5010d5
use gnu c99 to get both c99 and POSIX
...
when compiling with gcc
fixes fileno() implicitly defined on Linx and compile error on Solaris 10
2016-08-27 15:24:50 +02:00
Ben Wiederhake
cec38d1b74
Correctly reference self (github, not googlecode)
2016-07-08 00:45:33 +02:00
KyleJHarper
7f96babc4b
Several changes to address a few concerns from Yann. See Google Group LZ4c topic 'Reusing compression/decompression resources' for details.
2015-10-29 21:47:13 -05:00
KyleJHarper
02be6631be
Took out the basics and placed them into basics.c. Added decompression and a wrapper for the generic call. I will likely break this file up into 2 examples before submission.
2015-10-26 01:38:14 -05:00
KyleJHarper
73dd936b9d
Wrote the skeleton of the performance test. Need to finish tests for the rest of the call stack and then my own copy of generic().
2015-10-22 03:57:21 -05:00
Yann Collet
7273da38ba
minor example clarification
2015-06-28 02:34:12 -08:00
Zbigniew Jędrzejewski-Szmek
3bcf68ff35
Use lz4 binary to check output
2015-06-17 23:45:15 -04:00
Zbigniew Jędrzejewski-Szmek
386d216cdf
Add example which uses the frame api through the library
2015-06-17 23:45:15 -04:00
Yann Collet
e05088d0eb
Updated lz4hc API
2015-05-03 20:57:21 +01:00
Yann Collet
d008c87151
New directory structure : library source files into /lib directory
2014-11-30 23:32:12 +01:00
Yann Collet
dc43a1f6b5
Fixed : decompression issue on 32-bits CPU without unaligned memory access
2014-11-29 16:41:28 +01:00
Yann Collet
2b421e97d4
HC streaming : support small ringbuffer scenarios
2014-10-25 20:52:10 +01:00
Yann Collet
e2c84118f5
Added : HC streaming ring buffer example
2014-10-22 08:07:56 +01:00
Yann Collet
43465ae8ff
Added : examples from Takayuki Matsuoka
2014-08-26 14:27:22 +01:00