Closed NobodyXu closed 8 months ago
As an optimization for certain usecase where you already have a CompactString and want to reuse the heap allocation.
CompactString
Ahh, I never understood why clone_from() exists. Thank you for your explanation!
clone_from()
Neat! Great improvement :)
As an optimization for certain usecase where you already have a
CompactString
and want to reuse the heap allocation.