diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-11 13:18:25 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-11 13:18:25 +0000 |
commit | 38a5f0950250ad21e48ad60c1036621c58ecd9d4 (patch) | |
tree | a792258f5224faff370d13bc0fd541211da439fb /doc | |
parent | 1c8f9b319b6cd94c1c00731349c9dda6ec723979 (diff) | |
download | tor-38a5f0950250ad21e48ad60c1036621c58ecd9d4.tar tor-38a5f0950250ad21e48ad60c1036621c58ecd9d4.tar.gz |
r12349@catbus: nickm | 2007-04-11 09:18:15 -0400
Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync.
svn:r9944
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TODO | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,7 +79,7 @@ Things we'd like to do in 0.2.0.x: o Implement pool-allocation o Have Tor use it for packed cells. o Document it. - - Do something smart with freeing unused chunks. + o 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 @@ -271,7 +271,7 @@ Minor items for 0.1.2.x as time permits: R - add d64 and fp64 along-side d and fp so people can paste status entries into a url. since + is a valid base64 char, only allow one at a time. spec and then do. - - When we export something from foo.c file for testing purposes only, + o When we export something from foo.c file for testing purposes only, make a foo_test.h file for test.c to include... or put them behind an #ifdef FOO_PRIVATE. - The Debian package now uses --verify-config when (re)starting, |