3 ms·
Nah, just .clone() gleefully the 99% of the time that you're not in the hot path. Most of the other cases, you can use typed_arena or bumpalo. The other 0.1%
by trevyn 6y ago
Nah, just .clone() gleefully the 99% of the time that you're not in the hot path.
Most of the other cases, you can use typed_arena or bumpalo.
The other 0.1% of the time, you'd have to be pedantic about allocation anyway and might appreciate the compiler's help.