

Finally, they can be stored nowhere at all.įor now, we’ll ignore that confusing last case, and just focus on the first three situations.Some of the bytes might be stored in RAM and some in swap.They can be stored on the computer’s hard drive or disk, in which case they’re said to be stored in swap.They can be stored in RAM this is the default.The C code used to implement NumPy can then read and write to that address and the next consecutive 169,999 addresses, each address representing one byte in virtual memory.The result of that malloc() is an address in memory: 0x5638862a45e0.
