> This implementation is hardcoded to use 4GB virtual address for each vector, so you can have billions of these per process.
The actual virtual address space on current x86-64 processors is only 48 bits[0], so unless I am mistaken, you can only create thousands (around 2^16), not billions.
The actual virtual address space on current x86-64 processors is only 48 bits[0], so unless I am mistaken, you can only create thousands (around 2^16), not billions.
[0] https://en.wikipedia.org/wiki/X86-64#Architectural_features