Skip to content

perf: compact entry blob ranges - #906

Open
doorgan wants to merge 1 commit into
mainfrom
doorgan/compact-index-ranges
Open

doorgan wants to merge 1 commit into
mainfrom
doorgan/compact-index-ranges

Conversation

@doorgan

@doorgan doorgan commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

This PR reduces entry blob size by almost 50%, which is an overall decrease of about 10% of the db file on disk. This does not seem to have a noticeable impact on read/write times, I think the small cost of converting data gets amortized by the erlang having to do less work to serialize/deserialize the etf.

It's a small change and optimization, but it seems to add up the larger the project.

@doorgan
doorgan force-pushed the doorgan/compact-index-ranges branch from 8772c7d to e3aa580 Compare September 24, 2026 17:08
@doorgan
doorgan force-pushed the doorgan/compact-index-ranges branch from e3aa580 to c6e2ef8 Compare September 28, 2026 04:52
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