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

Consider if fragmentation is an issue #155

Open
edsko opened this issue Sep 5, 2024 · 0 comments
Open

Consider if fragmentation is an issue #155

edsko opened this issue Sep 5, 2024 · 0 comments

Comments

@edsko
Copy link
Collaborator

edsko commented Sep 5, 2024

As of #154 we allocate all structs that in the C API are passed or returned by value as pinned bytearrays. This could result in memory fragmentation, if any of these values are long-lived. If this is an issue, we may decide to use unpinned bytearrays for some of these, at the cost of having to do more copying for each C API call.

@edsko edsko added this to the 4: Additional features milestone Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant