diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-16 12:42:40 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-16 12:42:40 -0500 |
commit | 4bb831e0873e7e4468a44dbf9e253bcd5df18421 (patch) | |
tree | cbbaed743e01779d341f6ced564ddccb462d0a3d /changes | |
parent | e3ab27001f81dc05eb1dd1ac8371a35ccce2b50d (diff) | |
download | tor-4bb831e0873e7e4468a44dbf9e253bcd5df18421.tar.gz tor-4bb831e0873e7e4468a44dbf9e253bcd5df18421.zip |
Improve fragile-hardening performance of consensus_split_lines.
For whatever reason, in my testing, using memchr() here improves
performance over strchr() by a great deal.
Fixes bug 24826; bugfix on 0.3.1.1-alpha.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug24826_031 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug24826_031 b/changes/bug24826_031 new file mode 100644 index 0000000000..3d4a66184a --- /dev/null +++ b/changes/bug24826_031 @@ -0,0 +1,4 @@ + o Minor bugfixes (performance, fragile-hardening): + - Improve the performance of our consensus-diff application code when Tor + is built with the --enable-fragile-hardening option set. Fixes bug + 24826; bugfix on 0.3.1.1-alpha. |