[tor-bugs] #27248 [Core Tor/Tor]: Can we make our node-related structures more efficient?

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 22 19:22:52 UTC 2018


#27248: Can we make our node-related structures more efficient?
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  035-roadmap-master, 035-triaged-     |  Actual Points:
  in-20180711                                    |
Parent ID:  #27243                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by dgoulet):

 Replying to [comment:1 teor]:
 > We can:
 > * use microdesc_t, routerstatus_t, and routerinfo_t to fill in the
 fields in the node, and
 > * remove microdesc_t, routerstatus_t, and routerinfo_t from the node.

 Tbh, I'm very confused by what you mean here? I assume you are talking
 about `node_t` when you say "node"?

 The `node_t` has pointers to those 3 objects, so what would be your idea
 to save space?

 {{{
   microdesc_t *md;
   routerinfo_t *ri;
   routerstatus_t *rs;
 }}}

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


More information about the tor-bugs mailing list