Skip to content

Conversation

ngoldbaum
Copy link
Member

This adds a new helper function that returns the memory usage for a string array in bytes, including the string buffers. This works around numpy/numpy#23146.

Most of the code in the C _memory_usage implementation is copied from the numpy array iterator docs.

@ngoldbaum ngoldbaum merged commit ae73fb0 into numpy:main Feb 6, 2023
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

Successfully merging this pull request may close these issues.

1 participant