[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #23878 [Core Tor/Tor]: Attempt rewriting buffers.c in Rust



#23878: Attempt rewriting buffers.c in Rust
-----------------------------------------+---------------------------------
 Reporter:  isis                         |          Owner:  (none)
     Type:  enhancement                  |         Status:  new
 Priority:  Medium                       |      Milestone:  Tor:
                                         |  0.3.4.x-final
Component:  Core Tor/Tor                 |        Version:
 Severity:  Normal                       |     Resolution:
 Keywords:  rust-pilot, rust, datatypes  |  Actual Points:
Parent ID:                               |         Points:  3
 Reviewer:                               |        Sponsor:  Sponsor8-can
-----------------------------------------+---------------------------------

Comment (by manish.earth):

 Oh, I misunderstood the code; yeah, VecDeque<Vec<u8>> would be good
 (VecDeque<Bytes> is similar but has extremely minor refcounting overhead
 which we probably can live with)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23878#comment:3>
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