8ecbd038b5
This allows us to lookup an index -> ip address much faster (16 seconds for ~3.7 billion addresses with sparse blacklist, vs 65 sec before radix array). Setting the PREFIX_LEN to /20, as this appears to give a good tradeoff between radix population time (<1ms), runtime (16s), and memory footprint (4MB). |
||
---|---|---|
.. | ||
blacklist.c | ||
blacklist.h | ||
constraint.c | ||
constraint.h | ||
logger.c | ||
logger.h | ||
random.c | ||
random.h | ||
redis.c | ||
redis.h | ||
rijndael-alg-fst.c | ||
rijndael-alg-fst.h |