diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-26 22:08:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-03 13:03:41 -0500 |
commit | b9fb01721a38c2b850f7a0120adc621a9d34b772 (patch) | |
tree | 8fc04dcc28f0febf2cbe67f9a832224ce0a3dc42 /src/or/config.c | |
parent | b0b3c14c11afe55cd71f9c1b8a89d9e5a65c9799 (diff) | |
download | tor-b9fb01721a38c2b850f7a0120adc621a9d34b772.tar.gz tor-b9fb01721a38c2b850f7a0120adc621a9d34b772.zip |
Use a TAILQ, not a singly-linked queue, for the onion queue.
This makes removing items from the middle of the queue into an O(1)
operation, which could prove important as we let onionqueues grow
longer.
Doing this actually makes the code slightly smaller, too.
Diffstat (limited to 'src/or/config.c')
0 files changed, 0 insertions, 0 deletions