MCPcopy Create free account
hub / github.com/dask/dask / sizeof_array

Function sizeof_array

dask/sizeof.py:36–37  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

34
35@sizeof.register(array)
36def sizeof_array(o):
37 return o.itemsize * len(o)
38
39
40@sizeof.register(list)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected