[tor-bugs] #4619 [Tor Relay]: Find out if we need to optimise node_get_all_orports()

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Nov 30 22:07:05 UTC 2011


#4619: Find out if we need to optimise node_get_all_orports()
-----------------------+----------------------------------------------------
 Reporter:  ln5        |          Owner:  ln5
     Type:  defect     |         Status:  new
 Priority:  minor      |      Milestone:     
Component:  Tor Relay  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------
 From #3786:

     If node_get_all_orports() is at all near the critical path, we should
 think about some way to
     make it faster: allocating and freeing little objects over and over
 can get expensive.

   Would you suggest node_get_all_orports() taking a smartlist pointer as
 an argument? And even two
   (optional) tor_addr_t pointers?

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


More information about the tor-bugs mailing list