You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Matthew Rocklin (Jira)" <ji...@apache.org> on 2019/10/17 21:35:00 UTC

[jira] [Created] (ARROW-6926) Support __sizeof__ protocol for Python objects

Matthew Rocklin created ARROW-6926:
--------------------------------------

             Summary: Support __sizeof__ protocol for Python objects
                 Key: ARROW-6926
                 URL: https://issues.apache.org/jira/browse/ARROW-6926
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Matthew Rocklin


It would be helpful if PyArrow objects implemented the `__sizeof__` protocol to give other libraries hints about how much data they have allocated.  This helps systems like Dask, which have to make judgements about whether or not something is cheap to move or taking up a large amount of space.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)