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 /changes | |
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 'changes')
-rw-r--r-- | changes/ticket28853 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/ticket28853 b/changes/ticket28853 new file mode 100644 index 0000000000..e76f6bd8c9 --- /dev/null +++ b/changes/ticket28853 @@ -0,0 +1,3 @@ + o Minor features (performance): + - Replace parse_short_policy() with a faster implementation, to improve + microdescriptor parsing time. Closes ticket 28853. |