2 ms·
I think with AVX2 you could compare 10000 IP addresses in maybe 500 nanoseconds. Assuming they're cached. Uncached maybe 2 microseconds. It'd still not be the
by vardump 8y ago
I think with AVX2 you could compare 10000 IP addresses in maybe 500 nanoseconds. Assuming they're cached. Uncached maybe 2 microseconds.
It'd still not be the greatest idea... but don't underestimate linear scan on a modern CPU.