Arti issueshttps://gitlab.torproject.org/tpo/core/arti/-/issues2021-08-02T05:30:07Zhttps://gitlab.torproject.org/tpo/core/arti/-/issues/35Refactor buffers in tor-dirclient/src/lib.rs2021-08-02T05:30:07ZNick MathewsonRefactor buffers in tor-dirclient/src/lib.rsRight now, the buffer used in tor-dirclient/src/lib.rs is a `Vec<u8>`, and the code copies around inside it a lot.
It might be cool to change that to be a VecDeque<u8> instead, and not have to copy inside the buffer.Right now, the buffer used in tor-dirclient/src/lib.rs is a `Vec<u8>`, and the code copies around inside it a lot.
It might be cool to change that to be a VecDeque<u8> instead, and not have to copy inside the buffer.