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
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
13e9858d92
Remove the NewIDs type
2026-11-05 16:29:06 -08:00
Timmy Welch
b85659a845
Remove IDList
...
Use a slice instead
2026-11-05 16:29:01 -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
Timmy Welch
32109308d4
Intermediate between state between Fix writing hashes and V3
...
Update ID Group implementation to use slices instead of maps
Uses a slice of IDs and uses the insertion index as a reference to the ID
VP-tree:
Fix returning 0 for the distance for matches
Fix discarding exact matches
Explicitly mark hash slices as unused
SQLite: Decode saved hashes for debugging/testing
Fix sqlite and vptree implementations
2026-11-05 16:28:04 -08:00
Timmy Welch
acafe20bda
Add metrics
2026-09-03 03:32:11 -07:00
Timmy Welch
412b0e07bd
Implement downloading and automatically saving the current hashes.gz
2026-05-17 18:28:39 -07:00
Timmy Welch
22d59aa221
Move HashStorage to its own package
2025-05-31 19:00:40 -07:00