From bec41418b2966c44dd75fff6c91a6e3081461e88 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 12 Jan 2022 21:41:22 +0100 Subject: exp: add 1k chunks --- TODO.md | 3 +++ exp/Makefile | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index f3dbc97..f2544c5 100644 --- a/TODO.md +++ b/TODO.md @@ -39,6 +39,9 @@ priority 1 priority 2 ---------- - [ ] read individual files +- [ ] exports, do not compress all chunks at once, but like EROFS, compress with + fixed size output chunks of a `TrackSize` multiple. + This way it could be possible to read only part of the chunks of a version. - [ ] refactor `matchStream` as right now it is quite complex - [ ] tail packing of `PartialChunks` (this Struct does not exist yet as it is in fact just `TempChunks` for now). diff --git a/exp/Makefile b/exp/Makefile index 81fa9c7..f533695 100644 --- a/exp/Makefile +++ b/exp/Makefile @@ -36,6 +36,7 @@ export SKIP_CHECK ?= 4 export COMMITS ?= commits.$(RANGE) ##################### Exp dirs ##################### +DNA_1K ?= dna_1k DNA_4K ?= dna_4k DNA_8K ?= dna_8k NOPACK ?= nopack @@ -51,7 +52,7 @@ export GIT_PATH ?= $(abspath git) GITC := git -C $(REPO_PATH) SPACE := $() $() -DNADIRS := $(DNA_4K) $(DNA_8K) +DNADIRS := $(DNA_1K) $(DNA_4K) $(DNA_8K) DNAEXPORT := $(DNADIRS:%=%_export) DATADIRS := $(DNAEXPORT) $(DIFFS) $(NOPACK) $(BORG) $(TARGZ) $(REAL) SIZEFILES := $(DATADIRS:%=%.size) @@ -144,6 +145,7 @@ printvars: $(info $V=$($V)))) $(DNA_PARAMS): + echo "$(DNA_1K) -c 1024" > $@ echo "$(DNA_4K) -c 4096" >> $@ echo "$(DNA_8K) -c 8192" >> $@ -- cgit v1.2.3