diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-27 11:54:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-13 14:44:43 -0500 |
commit | 8b9a2cb68b290e550695124d7ef0511225b451d5 (patch) | |
tree | 13c3ce9603acf7f1168221df432479097fbfd3ea /src/or/statefile.c | |
parent | 7f6aa780e3183f34b2fa771e17813018e6b28115 (diff) | |
download | tor-8b9a2cb68b290e550695124d7ef0511225b451d5.tar tor-8b9a2cb68b290e550695124d7ef0511225b451d5.tar.gz |
Faster circuit_get_by_rend_token_and_purpose()
On busy servers, this function takes up something like 3-7% in
different profiles, and gets invoked every time we need to participate
as the midpoint in a hidden service.
So maybe walking through a linked list of all the circuits here wasn't
a good idea.
Diffstat (limited to 'src/or/statefile.c')
0 files changed, 0 insertions, 0 deletions