-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Make dynamic_format_arg_store reusable #1674
Comments
PRs are welcome =). |
Will do. The only trouble - I see no simple way to test reserve() method. |
Right....:-) |
No, I'm OK not testing whether reserve does anything useful since it's just an optimization and doesn't affect correctness. It's enough to test that it doesn't break things. |
reserve() for better memory menagement.
Implemented #1674: make dynamic_format_arg_store reusable and add reserve() for better memory menagement.
It must be easy to make the dynamic_format_arg_store reusable by adding method
clear()
. Also adding methodreserve(num_args, num_named_args)
can improve memory management.The text was updated successfully, but these errors were encountered: