[tor-bugs] #16914 [Tor]: improve consensus download decompress performance
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Aug 31 21:31:44 UTC 2015
#16914: improve consensus download decompress performance
-----------------------------+--------------------------------
Reporter: teor | Owner:
Type: enhancement | Status: needs_information
Priority: normal | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version: Tor: 0.2.6.10
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------------
Comment (by someone_else):
Replying to [comment:6 nickm]:
> (Also, do we have any evidence that the realloc calls here actually
matter?)
It won't make a performance difference. memcpy is something like 50x
faster than zlib inflate on current Intel CPUs.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16914#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list