diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-14 14:48:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-14 14:48:12 -0500 |
commit | 9dc53bc68f5e038c9531e3b12a58026d4007f652 (patch) | |
tree | 61271e1439c7af81737427b25090493e9cc9dc69 /changes | |
parent | f8dac5c900856494867996f60da848b0111aad35 (diff) | |
download | tor-9dc53bc68f5e038c9531e3b12a58026d4007f652.tar.gz tor-9dc53bc68f5e038c9531e3b12a58026d4007f652.zip |
Remove a needless memset() in get_token_arguments()
I believe we originally added this for "just in case" safety, but it
isn't actually needed -- we never copy uninitialized stack here.
What's more, this one memset is showing up on our startup profiles,
so we ought to remove it.
Closes ticket 28852.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/ticket28852 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/ticket28852 b/changes/ticket28852 new file mode 100644 index 0000000000..a58cc3ba0e --- /dev/null +++ b/changes/ticket28852 @@ -0,0 +1,4 @@ + o Minor features (performance): + - Remove a needless memset() call from get_token_arguments, + thereby speeding up the tokenization of directory objects by about + 20%. Closes ticket 28852. |