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

uucore::ranges: Refactor, document and test #3844

Merged
merged 3 commits into from
Aug 19, 2022

Conversation

tertsdiepraam
Copy link
Member

Another PR that should not change any functionality. I've tried to clean up this module a bit, because I had some ambitious plans for optimizing the merge function. The optimization worked, but was probably to complex to actually use, so I stuck with the original.

One tiny change in functionality: the from_list function now merges Ranges that are adjacent, like 1-3,4-6.

@sylvestre sylvestre merged commit fb4ddd5 into uutils:main Aug 19, 2022
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