aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-11 00:30:34 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-11 00:30:34 +0000
commit51e4b8d7068a3489fb5cb45a8ebcc20036fd0d35 (patch)
treecad4e30bb647186680938182bcd0592917acf4ea /doc
parent28de06b8e654800bb1221467d6c8cbbf8d19987d (diff)
downloadtor-51e4b8d7068a3489fb5cb45a8ebcc20036fd0d35.tar
tor-51e4b8d7068a3489fb5cb45a8ebcc20036fd0d35.tar.gz
r12338@catbus: nickm | 2007-04-10 20:29:05 -0400
Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/TODO b/doc/TODO
index b3daeb59f..2087b7600 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -75,7 +75,12 @@ Things we'd like to do in 0.2.0.x:
[No need to do this: the edge-connection choking will already take
care of this a bit, and rewriting the 'bridged connection' code
to not use socketpairs will give us even more control.]
- - Do we switch to arena-allocation for cells?
+ . Do we switch to pool-allocation for cells?
+ o Implement pool-allocation
+ o Have Tor use it for packed cells.
+ o Document it.
+ - Do something smart with freeing unused chunks.
+ - Benchmark pool-allocation vs straightforward malloc.
- Can we stop doing so many memcpys on cells?
o Also, only package data from exitconns when there is space on the
target OR conn's outbuf? or when the circuit is not too full.