3 ms·
Consider copy-pasting the code from Rc/Weak, then tweaking it to suit your needs (reduce the overhead). I have done this before with stdlib stuff like io::Curs
by ycombinatrix 1y ago
Consider copy-pasting the code from Rc/Weak, then tweaking it to suit your needs (reduce the overhead).
I have done this before with stdlib stuff like io::Cursor and was pretty happy with the result.