Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on New x86 8U servers with 32TB RAM, 480 physical cores, 15 PCIe x16 slots, 400GbE. Parent comment
Assuming the worst case with 4 billion elements:
log_2(4 billion) = 32
So 128 billion operations or 500GB of memory read and writes if everything is touched only once. Anything below that is peanuts.
You need unimaginably large numbers to make sorting slow. How am I going to find that much data?
There are no comments on this comment yet.
Assuming the worst case with 4 billion elements:
log_2(4 billion) = 32
So 128 billion operations or 500GB of memory read and writes if everything is touched only once. Anything below that is peanuts.
You need unimaginably large numbers to make sorting slow. How am I going to find that much data?