2 ms·
Well I’ll be. 8 bytes for the 64-bit double 8 bytes for object type pointer 8 bytes for reference count Lists are dynamic arrays with object pointers, some an
by forrestthewoods 4y ago
Well I’ll be.
8 bytes for the 64-bit double
8 bytes for object type pointer
8 bytes for reference count
Lists are dynamic arrays with object pointers, some another 8 bytes per pointer.
TIL and I stand corrected on that point. I thought CPython was more clever than that for lists of floats, but apparently not!