Skip to content
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

Support 1, 2, and 4 byte integers in ndarray() call #9

Open
stestagg opened this issue Mar 28, 2018 · 0 comments
Open

Support 1, 2, and 4 byte integers in ndarray() call #9

stestagg opened this issue Mar 28, 2018 · 0 comments

Comments

@stestagg
Copy link
Owner

Currently, all integers translate to I8 dtypes in numpy, which can be wasteful.

For strings, we already have the slot_info tuple for specifying the string length, so we can use that to restrict the size of the array type (but we'll have to have some checking on the c++ filler side, so that the correct size values are copied in)

The same could be done for float/double types too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant