Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ sizeof_bytes
Function
sizeof_bytes
dask/sizeof.py:26–27 ·
view source on GitHub ↗
(o)
Source
from the content-addressed store, hash-verified
24
@sizeof.register(bytes)
25
@sizeof.register(bytearray)
26
def
sizeof_bytes(o):
27
return
len(o)
28
29
30
@sizeof.register(memoryview)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected