Skip to content

Add Ranges::from_normalized#279

Closed
konstin wants to merge 1 commit intodevfrom
konsti/dev/from-noramlized
Closed

Add Ranges::from_normalized#279
konstin wants to merge 1 commit intodevfrom
konsti/dev/from-noramlized

Conversation

@konstin
Copy link
Copy Markdown
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.

@konstin konstin force-pushed the konsti/dev/from-noramlized branch from 575434d to 81a4c23 Compare November 8, 2024 10:13
@Eh2406
Copy link
Copy Markdown
Member

Eh2406 commented Nov 8, 2024

Seems reasonable on a quick read.

@konstin
Copy link
Copy Markdown
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

@konstin
Copy link
Copy Markdown
Member Author

konstin commented Apr 9, 2026

It doesn't look like we're merging this soon.

@konstin konstin closed this Apr 9, 2026
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