8000 Fast Chunk Updates by adamgfraser · Pull Request #5533 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fast Chunk Updates #5533

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

Merged
merged 8 commits into from
Sep 7, 2021
Merged

Fast Chunk Updates #5533

merged 8 commits into from
Sep 7, 2021

Conversation

adamgfraser
Copy link
Contributor

Resolves #5525.

We accumulate updates in a buffer, allowing us to amortize the cost of rebuilding the chunk over multiple updates at the cost of slower lookups until we materialize it.

[info] Benchmark                           (size)   Mode  Cnt     Score    Error  Units
[info] ChunkUpdateBenchmarks.chunkUpdate    10000  thrpt   15  5214.138 ± 55.786  ops/s
[info] ChunkUpdateBenchmarks.vectorUpdate   10000  thrpt   15  3836.942 ± 48.807  ops/s

@adamgfraser adamgfraser changed the base branch from master to series/2.x September 7, 2021 00:45
@adamgfraser adamgfraser requested a review from jdegoes September 7, 2021 05:57
@jdegoes jdegoes merged commit ce37b92 into zio:series/2.x Sep 7, 2021
@jdegoes
Copy link
Member
jdegoes commented Sep 7, 2021

Similar idea to :+. Love it!

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.

Support Efficient Updates Of Chunks
2 participants
0