aboutsummaryrefslogtreecommitdiff
path: root/zencore/compress.cpp
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-1353/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* Changed so CompressedBuffer::DecodeRawHash returns IoHash just like on the ↵Stefan Boberg2022-12-121-2/+2
| | | | | | UE side (#208) removed all use of IoHash::FromBLAKE3() caused by interactions with CompressedBuffer APIs
* optimizations (#200)Dan Engelbrecht2022-12-071-55/+124
| | | | | | | | | | | | | * Use direct file read and direct buffer allocation for small IoBuffer materalization * Reduce range of materialized data in CompositeBuffer reading CompressedBuffer header reading often only need a small part and not the whole file * reduce lock contention in IoBuffer::Materialize * Reduce parsing of compressed headers Validate header type at decompression * faster CreateDirectories - start from leaf going up and recurse back * optimized BufferHeader::IsValid * Add ValidateCompressedHeader to use when we don't need the actual compressed data Validate that we always get compressed data in CidStore::AddChunk * changelog
* Add `import-project` and `export-project` (#183)Dan Engelbrecht2022-11-181-5/+39
| | | * Add `import-project` and `export-project` command line parsing
* merge from mainStefan Boberg2021-11-181-4/+11
|\
| * Check input range when copy compressed range.Per Larsson2021-11-161-3/+10
| |
| * Renamed 3rdparty -> thirdparty for legal complianceStefan Boberg2021-11-041-1/+1
| |
* | Fixed unused variable warningStefan Boberg2021-11-031-1/+0
|/
* Compressed oplog attachmentsPer Larsson2021-10-211-0/+193
|
* Added support for decompressing from offset.Per Larsson2021-10-131-46/+182
|
* It's not possible to compile out testsStefan Boberg2021-09-201-1/+4
| | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly.
* Unsigned / signed comparison warning fixesStefan Boberg2021-09-151-3/+3
|
* Missing #includeMartin Ridgers2021-09-141-0/+1
|
* Added #ifdef around Windows-only #pragma-comment-lib statementsMartin Ridgers2021-09-141-1/+3
|
* Added missing CompressedBuffer::Null instantiationStefan Boberg2021-09-061-0/+2
|
* Added Oodle to CompressedBuffer (#5)Devin Doucette2021-07-221-83/+221
|
* Added CompressedBuffer round-trip testsStefan Boberg2021-05-241-18/+67
|
* Implemented support for UE5-style CompressedBuffersStefan Boberg2021-05-241-0/+709
| | | | Currently supports None, LZ4 compression types
* Adding zenservice codeStefan Boberg2021-05-111-0/+11