Speed up the execution of exit_policy_is_general_exit_helper()
commit1e49c908f724842a9adf383553689cf2a0aa7a0b
authorSebastian Hahn <sebastian@torproject.org>
Fri, 5 Feb 2010 15:58:24 +0000 (5 16:58 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Tue, 9 Feb 2010 08:10:07 +0000 (9 09:10 +0100)
treed249927810a483bc6b72861a6bd0aba111038136
parent01030a4db2c9aae4479ee9df431a75f41e75025c
Speed up the execution of exit_policy_is_general_exit_helper()

It isn't necessary to walk through all possible subnets when the policy
we're looking at doesn't touch that subnet.
src/or/policies.c