Repository navigation
model-maker 0.5.2 starts faster on slower disks: it remembers which model files it has already checked.
Before loading a model, model-maker reads every one of its files to check its sum against the registry, tens of GB for every make. Now a file whose sum matched once is taken from a record while it is clearly the same file (the same size, change time, device and file id, and on Linux and macOS the same status-change time, and under 30 days old). The record lives in your own state folder, never in the models' folder. --verify-full (or MODEL_MAKER_VERIFY=full) reads every file again.
Measured:
- "a fox" made three times in a row on a laptop's 16 GB card: 865 s with every sum read, 830 s while the record was filled, 682 s with it.
- On a build machine with a fast disk: 16 to 31 s a make (a fox and a lantern).
- Nothing else changes: on our 25 references every check value and all 644 view and report pictures were identical with and without the record.
What it gives up: on Windows there is no status-change time, so a file changed while its size and change time are made to look the same is caught only after 30 days or with --verify-full.
Also: each stage's load line in the ledger says how long its model checks took, and MODEL_MAKER_TIMES=1 puts the elapsed time before every progress line (off by default).
Windows install: powershell -ExecutionPolicy Bypass -c "irm https://github.com/cicadapark/model-maker/releases/download/v0.5.2/install.ps1 | iex".
Not signed: the zip's SHA-256 is 832f2e0e601412337d1e0d9f53da0f72fd4f3e4997a7ef69698eceeb4ffaa571, in SHA256SUMS beside this release and again at https://cicadapark.com/model-maker/0.5.2/SHA256SUMS. install.ps1 checks the zip against both and installs nothing if either differs. Updating from 0.5.1: move the models folder into the new version's folder before model-maker.exe setup (docs/setup.md).
The rest is in the changelog.