Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Feb 15, 2022

Conversation

wdvxdr1123
Copy link
Collaborator

@wdvxdr1123 wdvxdr1123 commented Feb 12, 2022

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
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