Skip to content

remove custom allocator for GMP #230

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

remove custom allocator for GMP #230

wants to merge 1 commit into from

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Feb 4, 2025

It has questionable utility and comes with heap corruption risks. Especially when init_gmp() is not called before everything else, and when asserting allow_integer_constructor is commented out

…s with heap corruption risks. Especially when init_gmp() is not called before everything else, and when asserting allow_integer_constructor is commented out
@arvidn arvidn force-pushed the no-custom-allocator branch from 2da32cd to 269c36f Compare February 4, 2025 13:00
@wjblanke
Copy link
Contributor

wjblanke commented Feb 4, 2025

Arvid I think you are going to need to deal with _mp_d for the fast vdf software timelord stuff. It doesn't look like we use the allocator for day to day node work.

Copy link

github-actions bot commented Apr 6, 2025

'This PR has been flagged as stale due to no activity for over 60
days. It will not be automatically closed, but it has been given
a stale-pr label and should be manually reviewed.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants