-
Notifications
You must be signed in to change notification settings - Fork 27
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
MAINT: Move sparsehash code to library_wrappers/sparsehash #174
Conversation
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.
We currently have wrappers in the py namespace for sparsehash which change the constructor of sparsehash to ensure that the empty key is passed for dense hash map. Only these subclasses are adapted. I think it is fine to leave these helper types; however, we should add (to|from)_object converters for the base sparsehash types.
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.
we can kill two comments but otherwise LGTM
First step in #172.
Also good example for how to create a wrapper for libpy.
TODO: Once agreed, README, etc.