Yann Collet
c540976a4b
minor: test reordering
2024-12-20 10:36:59 -08:00
Yann Collet
4c097b4939
refactor fullbench
...
to make it easier to add new scenarios
2024-12-20 10:36:58 -08:00
Yann Collet
09964c6276
prepare fullbench for a refactor
2024-12-20 10:36:58 -08:00
Yann Collet
0b013b2688
added unit tests to ZSTD_compressSequencesAndLiterals()
...
seems to work as expected,
correctly control that `litSize` and `srcSize` are exactly correct.
2024-12-20 10:36:58 -08:00
Yann Collet
14a21e43b3
produced ZSTD_compressSequencesAndLiterals() as a separate pipeline
...
only supports explicit delimiter mode, at least for the time being
2024-12-20 10:36:58 -08:00
Yann Collet
bcb15091aa
minor: more accurate variable scope
2024-12-20 10:36:58 -08:00
Yann Collet
047db4f1f8
ZSTD_SequenceCopier_f no returns the nb of bytes consumed from input
...
which feels much more natural
2024-12-20 10:36:58 -08:00
Yann Collet
4ef9d7d585
codemod: ZSTD_cParamMode_e -> ZSTD_CParamMode_e
2024-12-20 10:36:58 -08:00
Yann Collet
56cfb7816a
codemod: ZSTD_paramSwitch_e -> ZSTD_ParamSwitch_e
2024-12-20 10:36:58 -08:00
Yann Collet
13b9296d79
minor simplification
2024-12-20 10:36:58 -08:00
Yann Collet
2503b64345
fix minor artifact error in single_file_lib
2024-12-20 10:36:58 -08:00
Yann Collet
e0f3aaee46
doc: add mention of frame checksum incompatibility
...
for new prototype ZSTD_compressSequencesAndLiterals()
2024-12-20 10:36:57 -08:00
Yann Collet
08edecb78c
codemod: ZSTD_blockCompressor -> ZSTD_BlockCompressor_f
2024-12-20 10:36:57 -08:00
Yann Collet
25bef24c5c
codemod: rawSeqStore_t -> RawSeqStore_t
2024-12-20 10:36:57 -08:00
Yann Collet
41c667c0fd
codemod: repcodes_t -> Repcodes_t
2024-12-20 10:36:57 -08:00
Yann Collet
5df80acedb
codemod: ZSTD_matchState_t -> ZSTD_MatchState_t
2024-12-20 10:36:57 -08:00
Yann Collet
fa468944f2
codemod: ZSTD_buildSeqStore_e -> ZSTD_BuildSeqStore_e
2024-12-20 10:36:57 -08:00
Yann Collet
30671d77af
codemod: ZSTD_sequencePosition -> ZSTD_SequencePosition
2024-12-20 10:36:57 -08:00
Yann Collet
5359d16d8d
enable proper type
2024-12-20 10:36:57 -08:00
Yann Collet
03d95f9d13
fix proper type for .forceNonContiguous
2024-12-20 10:36:57 -08:00
Yann Collet
76dd3a98c4
scope: ZSTD_copySequencesToSeqStore*() are private to ZSTD_compress.c
...
no need to publish them outside of this unit.
2024-12-20 10:36:57 -08:00
Yann Collet
1ac79ba1b6
minor: simplify ZSTD_selectSequenceCopier
2024-12-20 10:36:56 -08:00
Yann Collet
894ea31281
codemod: ZSTD_sequenceCopier -> ZSTD_SequenceCopier_f
2024-12-20 10:36:56 -08:00
Yann Collet
c97522f7fb
codemod: ZSTD_sequenceFormat_e -> ZSTD_SequenceFormat_e
...
since it's a type name.
Note: in contrast with previous names, this one is on the Public API side.
So there is a #define, so that existing programs using ZSTD_sequenceFormat_e still work.
2024-12-20 10:36:56 -08:00
Yann Collet
0165eeb441
created ZSTD_entropyCompressSeqStore_wExtLitBuffer()
...
can receive externally defined buffer of literals
2024-12-20 10:36:56 -08:00
Yann Collet
e9f8a119b4
ZSTD_entropyCompressSeqStore_internal() can accept an externally defined literals buffer
2024-12-20 10:36:56 -08:00
Yann Collet
0442e43aca
codemod: ZSTD_defaultPolicy_e -> ZSTD_DefaultPolicy_e
2024-12-20 10:36:56 -08:00
Yann Collet
477a01067f
codemod: symbolEncodingType_e -> SymbolEncodingType_e
2024-12-20 10:36:56 -08:00
Yann Collet
8d4506bc94
codemod: ZSTD_sequenceLength -> ZSTD_SequenceLength
2024-12-20 10:36:55 -08:00
Yann Collet
a2245721ca
codemod: seqStore_t -> SeqStore_t
...
same idea, SeqStore_t is a type name, it should start with a Capital letter.
2024-12-20 10:36:55 -08:00
Yann Collet
9671813375
codemod: seqDef -> SeqDef
...
SeqDef is a type name, so it should start with a Capital letter.
It's an internal symbol, no impact on public API.
2024-12-20 10:36:55 -08:00
Yann Collet
b4a40a845f
move Sequences definition to zstd_compress_internal.h
...
they should not be in common/zstd_internal.h,
since these definitions are not shared beyond lib/compress/.
2024-12-20 10:36:55 -08:00
Yann Collet
a00f45a037
created ZSTD_storeSeqOnly()
...
makes it possible to register a sequence without copying its literals.
2024-12-20 10:36:04 -08:00
Yann Collet
125f05282b
publish new symbol ZSTD_compressSequencesAndLiterals()
2024-12-20 10:36:04 -08:00
Bent and Nick Terrell
5a7f5c745c
removed debug echos
2024-12-20 07:33:53 -08:00
Bent and Nick Terrell
d06e8778bc
added UNAME_TARGET_SYSTEM build flag to configure shared lib flags
2024-12-20 07:33:53 -08:00
Victor Zhang
8f49db5a02
Revert "Remove unnecessary extern C declarations from xxhash.h"
...
This reverts commit 10b9d81909 .
2024-12-19 17:54:41 -08:00
Victor Zhang
c7af0428c6
Oopsie with fileio_common.h
2024-12-19 17:48:00 -08:00
Victor Zhang
10b9d81909
Remove unnecessary extern C declarations from xxhash.h
2024-12-19 16:54:32 -08:00
Victor Zhang
c727d5cd67
Remove unnecessary extern C declarations from programs/ and contrib/
2024-12-19 16:20:23 -08:00
Victor Zhang
d0d5ce4c00
Remove extern C blocks from lib/* internal APIs (except xxhash.h)
2024-12-19 16:00:11 -08:00
Victor Zhang
d51e6072a8
Test: remove extern C from some lib/common files
2024-12-19 14:59:02 -08:00
Victor Zhang
a7bb6d6c49
Oopsie with xxhash.h [1/?]
2024-12-18 12:41:53 -08:00
Victor Zhang
07ffcc6b65
Separate xxhash includes from extern C blocks
2024-12-18 12:35:10 -08:00
Victor Zhang
f25b9f11ba
Oopsie with zdict.h
2024-12-18 10:10:20 -08:00
Victor Zhang
63acf9a995
Oopsie with huf.h, debug.h
2024-12-18 09:56:50 -08:00
Victor Zhang
58a7f4b869
Oopsie with threading.h
2024-12-17 18:37:33 -08:00
Victor Zhang
fa5bfb6030
Oopsie with zstd.h
2024-12-17 18:34:04 -08:00
Victor Zhang
ded4c1ec18
Oopsie with util.h
2024-12-17 18:18:02 -08:00
Victor Zhang
5222dd87cf
Oopsie with fse.h
2024-12-17 18:11:58 -08:00