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
1
u/CodenameLambda Jul 27 '19
If it can somehow contain
Rcd loops between types (if not directly, maybe via trait objects), otherwise the amount ofRcs behind any oneRcs is bounded. AndRcd recursive types tend to be somewhat rare in my experience, although yours might differ.