Skip to content

tor-netdoc: Save allocation space in GenericRouterstatus

Nick Mathewson requested to merge nickm/arti:smaller_routerstatus into main

While profiling #87, I found that the Vec<> used to store our GenericRouterstatus objects was larger than it needed to be, and it did more followup allocation than necessary. This branch tries to cut it down a bit; it should save a few hundred KiB per directory, at least.

Closes #387 (closed).

Merge request reports

Loading