C API's Memory Edge: Eliminating Python Object Overhead
Direct C API memory allocation for large numerical arrays bypasses Python's per-element object overhead, such as type pointers and reference counts, leading to 4-10x less memory consumption compared to native Python lists.