-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Support sorting iterators #46104
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
Merged
Merged
Support sorting iterators #46104
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c762cbd
widen sort's type signature
a00e018
fixup
d9316f8
remove broken cross-ref to Base.copymutable
54db6a6
Style
LilithHafner b046e7a
better error messages for `sort(4)` and `sort('c')`
8e94705
throw on string
15b2a02
Merge branch 'master' into sort-iter
LilithHafner fe2ce55
Add tests for error messages and drop iffy refference
e4cfffc
Update base/sort.jl
LilithHafner 7c14f9d
Remove broken suggestion
LilithHafner 36ff056
Throw on infinite iterator
LilithHafner f32de07
Merge branch 'master' into sort-iter
LilithHafner 1280aea
Merge branch 'master' into sort-iter
LilithHafner d9c8a7d
Merge branch 'master' into sort-iter
LilithHafner 449f9ff
Update compat entry to 1.10
LilithHafner 60e42f5
Merge branch 'master' into sort-iter
LilithHafner 55d5e7e
Merge branch 'master' into sort-iter
LilithHafner f5ad11a
make sort(::NTuple) return a tuple
55c8efe
Merge branch 'master' into sort-iter
LilithHafner ac32a38
Fallback to vector sorting for large tuples
264836d
resolve method ambiguity
0c53911
drop threshold to 9 and switch from home rolled split to IteratorsMD.…
9fc05de
Update test/sorting.jl
LilithHafner 6a838e5
Merge branch 'master' into sort-iter
d42c234
support sorting AbstractStrings
741017e
Merge branch 'master' into sort-iter
LilithHafner a0d3e4d
Revert "support sorting AbstractStrings"
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
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.
Uh oh!
There was an error while loading. Please reload this page.