r/rust • u/TheProgrammar89 • Jul 26 '19
Is this comment about the reference counting performance in Rust accurate?
/r/ProgrammerHumor/comments/b274zp/oof/eirvecs?context=3
50
Upvotes
r/rust • u/TheProgrammar89 • Jul 26 '19
View all comments
Show parent comment
22
u/WellMakeItSomehow Jul 26 '19
Another trick is to use arenas for allocations. It's not always applicable, but you can sometimes regain the loss of throughput of "manual" memory management or reference counting when compared to tracing GCs.