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

10 Commits

Author SHA1 Message Date
wdvxdr
6c7445772c
fix: fix btree iterate 2022-01-30 15:35:14 +08:00
wdvxdr
d2a58014bc
feat: support foreach in btree 2022-01-30 14:52:29 +08:00
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
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