[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #27248 [Core Tor/Tor]: Can we make our node-related structures more efficient?
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs