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

Add ruby_mimcalloc #10612

Merged
merged 1 commit into from Apr 24, 2024
Merged

Add ruby_mimcalloc #10612

merged 1 commit into from Apr 24, 2024

Conversation

peterzhu2118
Copy link
Member

Many places call ruby_mimmalloc then MEMZERO. This can be reduced by using ruby_mimcalloc instead.

@nobu
Copy link
Member

nobu commented Apr 24, 2024

If it's called calloc, shouldn't it have two arguments?

@peterzhu2118
Copy link
Member Author

I changed it to accept two arguments.

cont.c Outdated Show resolved Hide resolved
Many places call ruby_mimmalloc then MEMZERO. This can be reduced by
using ruby_mimcalloc instead.
@peterzhu2118 peterzhu2118 merged commit 2148119 into ruby:master Apr 24, 2024
100 checks passed
@peterzhu2118 peterzhu2118 deleted the mimcalloc branch April 24, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants