1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

5 Commits

Author SHA1 Message Date
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
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
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
f767213681
feat: init disk-based btree impl 2021-09-27 22:44:45 +08:00