Re: ACL in routing apps
Cort N0MJS <n0mjs@...>
Oh yeah, and the parsing is MUCH faster in the updated version… with ranges, I’m gonna need that right? Check this out:
time to build ACL: 10.89 seconds
radio IDs in ALC: 6003304
search time 1.90734863281e-06
subscriber 3120201 found in ACL
I had it build a list of about 6 million radio IDs to deny… while that took about 12 seconds for it to build while starting up, searching the list (python type ‘set’ actually - yes, it’s a hashed type) it takes about 2 microseconds to find a match. Now, that’s relative to the machine speed, but based on other per-packet processing actions these programs take, that’s round-off error.