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

index: encode using binrw #14

Merged
merged 1 commit into from
Oct 14, 2024
Merged

index: encode using binrw #14

merged 1 commit into from
Oct 14, 2024

Conversation

MarcelCoding
Copy link
Member

@MarcelCoding MarcelCoding commented Oct 14, 2024

Depends on #11

Reduces index size by ~50%:

Indexing nixvim and home-manager:

before after
.rw-r--r-- 1,1M marcel 14 Okt 12:36 index.ixx .rw-r--r-- 460k marcel 14 Okt 13:54 index.ixx

Additional perks:

  • magic at the start of the file ixx01 (indirect versioning of index file - frontend can detect if it is compatible with current format of the index file)

@SuperSandro2000 SuperSandro2000 merged commit d0bbbba into main Oct 14, 2024
4 checks passed
@SuperSandro2000 SuperSandro2000 deleted the binrw branch October 14, 2024 12:58
MarcelCoding added a commit that referenced this pull request Oct 16, 2024
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.

2 participants