Timmy Welch
|
4b91c400b5
|
Add more metrics
ids: ID Count
consistent_ids: ID Count == A Hash Count
consistent_hashes: A Hash Count == D Hash Count == P Hash Count
|
2026-11-05 16:29:43 -08:00 |
|
Timmy Welch
|
978f19b1f6
|
Add a hash conversion command
Add cmd/convert to convert legacy V2 hash files to the V3 format
|
2026-11-05 16:29:43 -08:00 |
|
Timmy Welch
|
c98784ea1d
|
Update storage for V3 hashes
Backends use the V3 hashes and ids loaded in place instead of
building a separate runtime IDMap
|
2026-11-05 16:29:43 -08:00 |
|
Timmy Welch
|
04c06b072a
|
Implement the V3 binary saved hashes format
Load hash files in place instead of decoding msgpack or json
Drop the --save-format flag since there is only one format
|
2026-11-05 16:29:10 -08:00 |
|
Timmy Welch
|
1519a0adcb
|
Define the SavedHashesV3 types
V3 uses fixed-size records so a saved file can be loaded in place
and used directly instead of being decoded into new structures
|
2026-11-05 16:29:08 -08:00 |
|
Timmy Welch
|
1129ff6f7a
|
Rename SavedHashes to SavedHashesV2
|
2026-11-05 16:28:57 -08:00 |
|
Timmy Welch
|
e374614124
|
Move hashing code into ch/ and comic-hasher to the repo root
So `go install gitea.narnian.us/lordwelch/comic-hasher@latest` works
|
2026-11-05 16:28:41 -08:00 |
|