diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-14 16:07:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-14 16:07:10 -0500 |
commit | 3dd1f064a7d5708585f88beffaf3897ba6555208 (patch) | |
tree | b4f9e9be7232be5a275c7f62c9d643f8fb45702e /src/rust/.rustfmt.toml | |
parent | f8dac5c900856494867996f60da848b0111aad35 (diff) | |
download | tor-3dd1f064a7d5708585f88beffaf3897ba6555208.tar.gz tor-3dd1f064a7d5708585f88beffaf3897ba6555208.zip |
Rewrite the core of parse_short_policy() to be faster.
The old implementation did some funky out-of-order lexing, and
tended to parse every port twice if the %d-%d pattern didn't match.
Closes ticket 28853.
Diffstat (limited to 'src/rust/.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions