[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #16914 [Tor]: improve consensus download decompress performance



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs