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
I'm not sure, but I suspect having an append function that consumes another arrayvec and ptr::copys over all elements at once would be faster than using extending an iterator which ptr::writes per-item.
The text was updated successfully, but these errors were encountered:
Ideally extend shouldn't ptr::write per item, it should optimize better than that, but I suspect the IntoIter implementation is putting limits on how well that can be done.
I'm not sure, but I suspect having an
append
function that consumes another arrayvec andptr::copy
s over all elements at once would be faster than usingextend
ing an iterator whichptr::write
s per-item.The text was updated successfully, but these errors were encountered: