A Python `int` typically occupies 28 bytes (on 64-bit systems) due to object overhead (type, refcount, value), while a C `int` is just 4 bytes, leading to significantly less data fitting in cache lines.
Open the full topic