summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-02 01:22:42 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-02 01:22:42 +0000
commit439fe55c6b82cedcc0ef7510d86d07254f2eb2d1 (patch)
treee50d9794c3407a6c020239111ce29ba3bcaf55c9 /ChangeLog
parentb8364ef8c7ac779b6e3ce588490213f80ea75b5a (diff)
downloadtor-439fe55c6b82cedcc0ef7510d86d07254f2eb2d1.tar.gz
tor-439fe55c6b82cedcc0ef7510d86d07254f2eb2d1.zip
r15436@catbus: nickm | 2007-10-01 21:17:27 -0400
Fix disgusting O(n^2) behavior in router_parse_list_from_string. Noticed by Li-Hui Zhou; found with oprofile. svn:r11738
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a8d3f3a63a..4a5d98edd2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,12 @@ Changes in version 0.2.0.8-alpha - 2007-??-??
- Use annotations to record the source for each descriptor.
- Use annotations to record the purpose of each descriptor.
+ o Major bugfixes (performance):
+ - Fix really bad O(n^2) performance when parsing a long list of routers:
+ Instead of searching the entire list for an "extra-info " string which
+ usually wasn't there, once for every routerinfo we read, just scan
+ lines forward until we find one we like. Bugfix on 0.2.0.1.
+
o Minor bugfixes (controller):
- When sending a status event to the controller telling it that an
OR address is readable, set the port correctly. (Previously we