You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be more efficient than use to_owned() on a deref'd slice. By letting the allocator decide if the allocation can be reused with a different alignment, it can elide a memcpy operation in some cases. Presumably, at least a lot of cases. Other alignment-aware allocators may be able to just move the allocation to a new bucket instead.
The text was updated successfully, but these errors were encountered:
This can be more efficient than use
to_owned()
on a deref'd slice. By letting the allocator decide if the allocation can be reused with a different alignment, it can elide a memcpy operation in some cases. Presumably, at least a lot of cases. Other alignment-aware allocators may be able to just move the allocation to a new bucket instead.The text was updated successfully, but these errors were encountered: