• Joseph Weston's avatar
    implement __sizeof__ for tinyarray · fc33353c
    Joseph Weston authored
    A new method `object_size` is added to the Array template class, which
    calculates the total size of the Python object in bytes.  The function
    `size_of` then wraps this method and provides the necessary interface
    for a Python method object.
    fc33353c