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 Ranges::from_normalized #279

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft

Conversation

konstin
Copy link
Member

@konstin konstin commented Nov 8, 2024

Add a fast path alternative to Ranges::from_iter. This makes the ranges invariants part of the API, which I think is fine because i don't expect them to change. I'm not sure if we should yet, since this is not a performance critical part really.

@Eh2406
Copy link
Member

Eh2406 commented Nov 8, 2024

Seems reasonable on a quick read.

@konstin
Copy link
Member Author

konstin commented Nov 18, 2024

I'll leave it as a draft for now, we can re-evaluate this when we have a use case not covered by #278

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