For over 1M records, like: "1.1.1.0/24 APNIC|APNIC|*|*" , it takes minutes to initialize and > 1G memory. Any speed factors I neglected? Here's my test codes: https://github.com/whille/mylab/blob/master/qqzeng-ip-python/RadixSearch.py
For over 1M records, like: "1.1.1.0/24 APNIC|APNIC||" , it takes minutes to initialize and > 1G memory. Any speed factors I neglected?
Here's my test codes:
https://github.com/whille/mylab/blob/master/qqzeng-ip-python/RadixSearch.py