Skip to content

Omit extra sorting during glob building - #24

Open
SomeoneToIgnore wants to merge 1 commit into
TheDaemoness:mainfrom
SomeoneToIgnore:do-not-sort-twice
Open

Omit extra sorting during glob building#24
SomeoneToIgnore wants to merge 1 commit into
TheDaemoness:mainfrom
SomeoneToIgnore:do-not-sort-twice

Conversation

@SomeoneToIgnore

@SomeoneToIgnore SomeoneToIgnore commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

self.options.into() is calling https://github.com/TheDaemoness/ec4rs/blob/5ad5a16bc0069da83bd5d7e83ed47eed201f82b9/glob/src/flatset.rs#L22-L29 which already does

value.sort_unstable();
value.dedup();

so the code effectively sorts things twice.

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.

1 participant