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
When I added bytevector support to Scheme, I noticed that to copy a slice of a bytevector I have to copy all the elements out into a new Vec<u8>, then hs.alloc the vector back into the heap, which copies it again. There should be a faster way to copy an in-heap vector when the element's In type is Copy.
The text was updated successfully, but these errors were encountered:
When I added bytevector support to Scheme, I noticed that to copy a slice of a bytevector I have to copy all the elements out into a new
Vec<u8>
, thenhs.alloc
the vector back into the heap, which copies it again. There should be a faster way to copy an in-heap vector when the element'sIn
type isCopy
.The text was updated successfully, but these errors were encountered: