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
Currently goes from array-like -> numpy array -> python list -> rust vec -> rust type -> rust vec -> python list -> numpy array, which is a lot of copies and changing type information; plus vec-of-vec isn't an efficient data structure (although we don't index into the top vec so maybe it's not so bad).
Don't want to copy the array more than necessary, but we may need to clone it on the rust side to prevent releasing/mutating the original memory if we were to use Into.
The text was updated successfully, but these errors were encountered:
Currently goes from array-like -> numpy array -> python list -> rust vec -> rust type -> rust vec -> python list -> numpy array, which is a lot of copies and changing type information; plus vec-of-vec isn't an efficient data structure (although we don't index into the top vec so maybe it's not so bad).
Blockers
Thoughts
Don't want to copy the array more than necessary, but we may need to clone it on the rust side to prevent releasing/mutating the original memory if we were to use
Into
.The text was updated successfully, but these errors were encountered: