From e4ebe3409e941cf16b2a80a939848deb9e810ca3 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 26 Mar 2008 16:33:33 +0000 Subject: r19049@catbus: nickm | 2008-03-26 12:33:25 -0400 Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies. svn:r14194 --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7f1c5ffe7..c9d9224d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,10 @@ Changes in version 0.2.1.1-alpha - 2008-??-?? fixed in late 2006. Our new behavior is to call RAND_poll() at startup, and to call RAND_poll() when we reseed later only if we have a non-buggy OpenSSL version. + - Speed up parsing and cut down on memory fragmentation by using + stack-style allocations for parsing directory objects. Previously, + this accounted for over 40% of allocations from within Tor's code + on a typical directory cache. - Lots of new unit tests. o Code simplifications and refactoring: -- cgit v1.2.3