-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Cleanup vector a bit #1771
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
Cleanup vector a bit #1771
Conversation
This comment has been minimized.
This comment has been minimized.
barcharcraz
left a comment
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.
Looks good. Still not thrilled with _Construct_n, but I'm OK if we merge that structure.
StephanTLavavej
left a comment
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.
Thanks! All I noticed were minor issues so I'll validate and push changes.
|
Thanks for cleaning up |
These are some cleanups that I found when looking at vector
We have special helper functions
_Uninitialized_meowthat are only used inside vector. However there was an additional indirection whose only purpose was to add_Getal()Cleaned up and generalized the construction of a vector with known size