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

Add experimental support for get_mapped_range #522

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

almarklein
Copy link
Member

@almarklein almarklein commented Jun 11, 2024

Relates to #513

This adds the API that I was reluctant to add, because its prone to the user (accidentally) using the mapped array after it becomes unmapped. However, there are potential performance benefits. I want us (and others) to be able to investigate its use.

My proposal is to add it as an experimental and undocumented method. In time, when we know more about how useful it is, we can think about a public API for (something like) this.

Also adds an unrelated comment to _poll().

@almarklein almarklein requested a review from Korijn as a code owner June 11, 2024 11:16
@almarklein almarklein merged commit 09e4ec6 into main Jun 11, 2024
20 checks passed
@almarklein almarklein deleted the get_mapped_range branch June 11, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants