Skip to content

fix: Move function and constraint data into local allocations to avoid leaking the boxed data#27

Merged
relf merged 1 commit into
relf:mainfrom
Yen:fix/constraint-allocation-leaks
May 18, 2026
Merged

fix: Move function and constraint data into local allocations to avoid leaking the boxed data#27
relf merged 1 commit into
relf:mainfrom
Yen:fix/constraint-allocation-leaks

Conversation

@Yen

@Yen Yen commented May 18, 2026

Copy link
Copy Markdown
Contributor

Fixes the leaks (#26), and presumably performance improvement from not doing the additional allocations.

Same result with cargo run --example paraboloid as on main, though this is the only test case so hopefully I have not misunderstood the API here.

@Yen

Yen commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

Actually, I didn't notice there is a tests mod at the bottom. cargo test passes as expected.

@relf relf merged commit 99b7c46 into relf:main May 18, 2026
3 checks passed
@relf relf mentioned this pull request May 18, 2026
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.

2 participants