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

Avoids copying public parameters #78

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft

Conversation

dorebell
Copy link
Contributor

@dorebell dorebell commented Feb 21, 2024

This is an attempt to avoid making copies of portions of the SRS when calling the Zeromorph trim() function, by replacing vectors of group elements with CoW references (a similar technique is used in the ark-poly-commit crate).

The compression tests are working, but the peak memory usage is still around 57GB. I'm not sure what exactly is going on here - running further comprehensive benchmarks should help.

@slumber
Copy link
Contributor

slumber commented Feb 22, 2024

Another reminder not to stack changes into a single branch. This one is heavily outdated and it makes reviews difficult, not to mention merging.

@dorebell dorebell changed the base branch from main to vamsi-compression-cli February 23, 2024 17:48
Base automatically changed from vamsi-compression-cli to dorebell-SRS March 8, 2024 17:59
Base automatically changed from dorebell-SRS to main March 14, 2024 11:47
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.

None yet

3 participants