Skip to content

Trim some memory - #111

Merged
dance858 merged 1 commit into
mainfrom
trim-exact-alloc
Aug 28, 2026
Merged

Trim some memory#111
dance858 merged 1 commit into
mainfrom
trim-exact-alloc

Conversation

@dance858

@dance858 dance858 commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

For a few atoms we allocate CSRs based on an upper bound on nnz. This PR adds a trim that reallocates to free the extra memory not used.

@dance858 dance858 changed the title [WIP] Trim some memory Trim some memory Aug 28, 2026
@dance858
dance858 merged commit ebd3500 into main Aug 28, 2026
11 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.

1 participant