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
3cbec4606b
Rename BasicMap to Basic
...
Keep BasicMap as an alias for CLI flags
Fix the unknown storage type error message
2026-11-05 16:28:59 -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
aa7bf3c2af
go fmt
2026-11-02 15:19:36 -08:00
Timmy Welch
5b26690994
Improve map performance
2026-09-23 12:55:43 -07:00
Timmy Welch
f5e22f2e1d
Stop overwriting results
2026-09-06 15:46:58 -07:00
Timmy Welch
9abcf09457
Use a smaller struct for basic map
...
Memory savings 377MB -> 331MB
Search may be faster GC appears to be skewing results
2026-09-06 01:42:19 -07:00
Timmy Welch
acafe20bda
Add metrics
2026-09-03 03:32:11 -07:00
Timmy Welch
8bcecfa307
Fix performance
2026-09-03 03:24:12 -07:00
Timmy Welch
dcccbcfb60
fixup
2026-09-02 20:53:38 -07:00
Timmy Welch
5c3be1e733
Fix finding exact hashes
2026-03-01 16:11:55 -08:00
Timmy Welch
5a8f7deac5
Fix saving hashes
2026-02-24 22:00:01 -08:00
Timmy Welch
22d59aa221
Move HashStorage to its own package
2025-05-31 19:00:40 -07:00