diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-19 22:36:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-19 22:36:48 +0000 |
commit | 2d4950c8373676b9b5ae0a3c8013e780b5c18e19 (patch) | |
tree | 88a609b1bd0590b32168a6d503aea7c5e4c8a838 /ChangeLog | |
parent | 7b0ec744bc8afa691873f97cfb6a3b7822376d7b (diff) | |
download | tor-2d4950c8373676b9b5ae0a3c8013e780b5c18e19.tar tor-2d4950c8373676b9b5ae0a3c8013e780b5c18e19.tar.gz |
Malloc and friends are critical-path: Thus, add an it-wont-happen branch prediction for NULL returns, and skip the malloc(0) check on platforms where malloc(0) returns a pointer.
svn:r8431
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ Changes in version 0.1.2.2-alpha - 2006-??-?? o Minor Bugfixes - Small performance improvements on parsing and inserting descriptors. + - Make the common memory allocation path faster on machines where + malloc(0) returns a pointer. Changes in version 0.1.2.1-alpha - 2006-08-27 o Major features: |