8000 ENH: Add `madvise` for `memmap` objects by IndifferentArea · Pull Request #29260 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Add madvise for memmap objects #29260

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

IndifferentArea
Copy link
Contributor

A simple wrapper on python's mmap.madvise, as requested in #13172

I've seen the long-stalled PR #24489 addressing similar functionality. I'm eager to contribute more to NumPy, and if the original author of that PR wishes to continue their efforts, I'm happy to step aside and close this PR.

After seeing comments and review on that PR, I'm not sure what to do on view of mmap.

@IndifferentArea IndifferentArea marked this pull request as draft June 23, 2025 14:30
Copy link
Member
@jorenham jorenham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget about the stubs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0