aboutsummaryrefslogtreecommitdiff
path: root/zencore/compositebuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-446/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* optimizations (#200)Dan Engelbrecht2022-12-071-11/+21
| | | | | | | | | | | | | * 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-0/+94
| | | * Add `import-project` and `export-project` command line parsing
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-2/+2
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* It's not possible to compile out testsStefan Boberg2021-09-201-2/+3
| | | | 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.
* Initial implementation of CompositeBufferStefan Boberg2021-05-241-0/+341
A CompositeBuffer is a non-contiguous buffer composed of zero or more immutable shared buffers