Skip to content

Conversation

@tofay
Copy link
Collaborator

@tofay tofay commented Oct 1, 2024

Following on from #24 (comment)

Users can bring their own compression by implementing the WriteComplete trait, and providing a closure that creates their Writer from a blob writer.

An example use case I've been experimenting with for faster compression is to use multithreaded gzip compression via https://github.com/sstadick/gzp (or a fork which resolves sstadick/gzp#56 ) - I added an example of how I've done that here, alongside a trivial example that does no compression. I'll remove the gzp example to avoid using my github branch but included it initially to demonstrate the use case.

@ariel-miculas
Copy link
Collaborator

@tofay is this PR ready for review?

@tofay tofay force-pushed the generic branch 2 times, most recently from 6ed7718 to 761f436 Compare October 16, 2024 06:39
@tofay tofay marked this pull request as ready for review October 16, 2024 06:41
@tofay tofay force-pushed the generic branch 2 times, most recently from 1b560c3 to e027c78 Compare June 29, 2025 19:59
Signed-off-by: Tom Fay <tom@teamfay.co.uk>
Signed-off-by: Tom Fay <tom@teamfay.co.uk>
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@cgwalters cgwalters merged commit fb45756 into bootc-dev:main Jul 1, 2025
3 checks passed
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 parallel compression of non-static writers

3 participants