-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fix limits #100
Fix limits #100
Conversation
Please validate my interpretation of this change below. Am I missing some other benefit? If there is more discussion at STEEM, would you please provide a link? -- To reduce over-reserving, we now pick the minimum of (the estimated size or an arbitrary number of 200 ). While this may cause re-allocations, it is better than over-allocating. |
Yes, basically. Related STEEM PRs: |
It's mentioned in steemit/steem#3201 that |
I don't see how to get around the initialization. bitshares-fc/include/fc/io/raw.hpp Lines 478 to 484 in 90f8ad5
Better ideas? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
Thanks! |
Limit allocation during deserialization