[tor-bugs] #13478 [Tor]: Semantic changes to tor_calloc

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 20 00:58:20 UTC 2014


#13478: Semantic changes to tor_calloc
-----------------------------+--------------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  minor        |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------
Changes (by nickm):

 * status:  new => needs_review
 * milestone:  Tor: unspecified => Tor: 0.2.6.x-final


Comment:

 Hmmm.  Looks plausibly correct.  I wonder, are we actually using whole-
 program optimization? It seems that without cross-module optimization,
 optimizing for a constant second argument won't actually help.  (Then
 again, I'm not sure that we actually calloc in any critical path.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13478#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list