-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
ls: Implement locale-aware sorting #8828
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
Open
naoNao89
wants to merge
19
commits into
uutils:main
Choose a base branch
from
naoNao89:feat/ls-locale-sorting-only
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
78af592
ls: Implement locale-aware sorting
naoNao89 3b612ef
test: add comprehensive benchmarks and tests for locale-aware sorting
naoNao89 748e329
ls: address review feedback for locale-aware sorting
naoNao89 38c5152
test(ls): fix locale test failures and clippy warnings
naoNao89 deeaa48
bench(ls): simplify locale benchmark parameters
naoNao89 269dcbf
chore: revert wordlist changes per review feedback
naoNao89 acd6262
perf(locale): add ASCII fast-path with case-insensitive support
naoNao89 8f57749
perf: optimize ASCII comparison with smart uppercase detection
naoNao89 be74d94
perf(locale): simplify ASCII fast-path by removing uppercase detection
naoNao89 d933c4d
test: fix collator case-insensitive tests with shared state
naoNao89 ef887f7
perf: optimize case-insensitive ASCII comparison hot path
naoNao89 267ffd8
perf: use branchless lowercase for case-insensitive ASCII comparison
naoNao89 72a79ef
perf: optimize locale-aware sorting with byte conversion caching
naoNao89 9f59362
fix: use is_ascii_uppercase() for clippy compliance
naoNao89 1c55819
perf(ls): reduce small-dir sorting overhead and stabilize group-direc…
naoNao89 d1b775f
perf(ls): lower adaptive sort threshold from 64 to 24 entries
naoNao89 b270e76
fix(ls): correct threshold logic - use 16 to enable caching for 19-en…
naoNao89 3aca88e
perf(ls): hybrid caching strategy - always cache in recursive mode
naoNao89 957061a
perf(ls): optimize locale sort with in-place algorithm
naoNao89 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not 100% confident about that, but I think I remember a potentially funny behavior with the German
ßbeing treated asss. I think that's worth testing