wdvxdr
0b04ec9adb
feat(cache): implement Delete
2021-10-08 21:41:47 +08:00
wdvxdr
63e950bb83
feat(internal/btree): use md5 key instead of sha1
...
image/video cache uses md5 key, this commit will reduce 4 used bytes in db
2021-10-03 22:32:11 +08:00
wdvxdr
7c4be95c19
feat: store cache with disk btree backend
2021-09-28 22:23:33 +08:00
wdvxdr
4da6584f10
feat: unified writing/reading table
...
These changes table reading/writing to single read/write operation,
and layout to machine byteorder, so db file will be unsupported with
wrong byteorder.
2021-09-28 16:44:45 +08:00
wdvxdr
d620fce1ae
style: nolint on (*btree.Btree).insertTopLevel
2021-09-28 15:58:30 +08:00
wdvxdr
83b4206b15
fix: wrong sha1 cmp
...
reported by staticcheck.
2021-09-28 15:51:35 +08:00
wdvxdr
2927c2214f
feat: optimize btree reading/writing
2021-09-28 15:33:33 +08:00
wdvxdr
4625c785dd
fix: make linter happy in internal/btree
2021-09-28 10:48:19 +08:00
wdvxdr
f767213681
feat: init disk-based btree impl
2021-09-27 22:44:45 +08:00