subspace icon indicating copy to clipboard operation
subspace copied to clipboard

Overload swap() for trivially relocatable types

Open danakj opened this issue 10 months ago • 0 comments

Even if a type is conditionally trivially relocatable we can use if constexpr to do a memcpy when possible.

We should do this for the key vocab types like Option, Result, Vec, etc...

danakj avatar Aug 26 '23 18:08 danakj