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
We should probably use IntoPyObject instead. Right now we're using ToPyObject, which will clone data. But we should first investigate if there are any downsides.
The text was updated successfully, but these errors were encountered:
Are there really many objects that can benefit from IntoPyObject? I imagine most things will need to copy their data anyway. It's also a waste to consume something from the rust scope if the data is still getting copied.
We should probably use
IntoPyObject
instead. Right now we're usingToPyObject
, which will clone data. But we should first investigate if there are any downsides.The text was updated successfully, but these errors were encountered: