Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate functions with nb::rv_policy to avoid unnecessary copies #118

Merged
merged 3 commits into from
Nov 10, 2024

Conversation

robomics
Copy link
Contributor

@robomics robomics commented Nov 9, 2024

No description provided.

@robomics robomics added the enhancement New feature or request label Nov 9, 2024
@robomics robomics force-pushed the perf/avoid-unnecessary-copies branch from 07d0155 to dcbd02d Compare November 9, 2024 22:08
@robomics robomics changed the title Annotate functions with nb::rv_policy::take_ownership whenever possible Annotate functions with nb::rv_policy to avoid unnecessary copies Nov 9, 2024
@robomics robomics merged commit 6cc6b29 into main Nov 10, 2024
63 checks passed
@robomics robomics deleted the perf/avoid-unnecessary-copies branch November 10, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant