-
Notifications
You must be signed in to change notification settings - Fork 50
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
[REGRESSION] Pool size is extended on each allocation #54
Comments
thank you for the quick fix!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reported in Boost mailing list: https://lists.boost.org/Archives/boost/2023/06/254750.php
951ca57 changed malloc_need_resize() to use set_next_size(), which
sets start_size in addition to setting next_size. this causes repeated use
of purge_memory() to allocate 2x size after every use. as illustration:
before the commit the output is:
after the commit, the output is:
The text was updated successfully, but these errors were encountered: