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

[tor-bugs] #28852 [Core Tor/Tor]: Remove memset() from get_token_arguments.



#28852: Remove memset() from get_token_arguments.
------------------------------+---------------------------------
     Reporter:  nickm         |      Owner:  nick,m
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.0.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.3.4.9
     Severity:  Normal        |   Keywords:  startup performance
Actual Points:                |  Parent ID:  #28481
       Points:                |   Reviewer:
      Sponsor:  Sponsor8-can  |
------------------------------+---------------------------------
 After other changes in the parent ticket, about 2% of our startup time is
 calling memset() in get_token_arguments.  This memset() is completely
 unnecessary if the rest of the function is written correctly (which it
 is).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28852>
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