Thanks to visit codestin.com
Credit goes to github.com

Skip to content

db/leveldb: impl index read/write drop encoding/gob#1370

Merged
wdvxdr1123 merged 3 commits into
Mrs4s:devfrom
wdvxdr1123:dev.leveldbv3
Feb 15, 2022
Merged

db/leveldb: impl index read/write drop encoding/gob#1370
wdvxdr1123 merged 3 commits into
Mrs4s:devfrom
wdvxdr1123:dev.leveldbv3

Conversation

@wdvxdr1123

@wdvxdr1123 wdvxdr1123 commented Feb 12, 2022

Copy link
Copy Markdown
Collaborator

Two benefit below:

  • shrink go-cqhttp binary size about 200KiB
  • shrink database file from 2.8M to 1.56M compared with v2 database

Also provide a tool to migrate v2 database:
https://github.com/RomiChan/gocq-leveldb-migrate

@wdvxdr1123 wdvxdr1123 force-pushed the dev.leveldbv3 branch 2 times, most recently from 770567a to 0c4266f Compare February 13, 2022 13:34
@wdvxdr1123 wdvxdr1123 merged commit 9054d4c into Mrs4s:dev Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant