-
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
Growable Buffer header #1535
Growable Buffer header #1535
Conversation
Codecov Report
|
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.
Sure. Thanks. I have added the function that is needed for use in Array Builder. So, it should be able to work with Array Builders and the new Layout Builder. New methods can be added as and when they are needed. |
At some point, we should be able to remove the old GrowableBuffer, too. Is that currently dead code? (I.e. if you just remove the old GrowableBuffer, can it compile?) When it is possible to remove, let's do that right away so that we don't end up with a name conflict somehow. Fortunately, GrowableBuffer does not have a pybind11 interface, so there won't be anything in the src/python directory to dismantle. |
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.
Please, see my comment about accessing private members from a static function. Thanks.
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.
Ok, my compiler does not like that the static function accesses the private members. Here is an alternative implementation.
fix compilation errors on Mac
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.
This looks good! Thanks. Please, merge it when the tests pass.
@all-contributors please add @ManasviGoyal for code |
I've put up a pull request to add @ManasviGoyal! 🎉 |
New header-only implementation of Growable Buffer using panels. Contains the following :-