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
53
Upvotes
r/rust • u/TheProgrammar89 • Jul 26 '19
View all comments
Show parent comment
1
u/vkjv Jul 28 '19
That's a great point; in the case of recursion or unbounded concurrency you could have arbitrarily deep clones. What's the worst case in a tracing GC? Similar big O since it needs to walk all the nodes in the tree, but overall faster because it doesn't need to decrement?