julia
add `shuffle(::NTuple)` to `Random`
#56906
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
29
Changes
View On
GitHub
add `shuffle(::NTuple)` to `Random`
#56906
IanButterworth
merged 29 commits into
JuliaLang:master
from
nsajko:shuffle_ntuple
nsajko
added
randomness
nsajko
added
stdlib
nsajko
added
feature
nsajko
commented on 2024-12-26
nsajko
force pushed
from
7c9cbf9a
to
b2eb86a7
1 year ago
rfourquet
added
needs docs
rfourquet
added
needs news
nsajko
force pushed
from
213f598b
to
7bb811d3
1 year ago
nsajko
commented on 2025-05-09
nsajko
commented on 2025-05-09
nsajko
force pushed
from
70fa8ac6
to
45771628
1 year ago
nsajko
removed
needs news
nsajko
removed
needs docs
nsajko
added
status: waiting for PR reviewer
nsajko
removed
status: waiting for PR reviewer
nsajko
added
DO NOT MERGE
nsajko
commented on 2025-05-09
nsajko
removed
DO NOT MERGE
rfourquet
commented on 2025-05-09
nsajko
commented on 2025-05-09
nsajko
commented on 2025-05-09
nsajko
added
status: waiting for PR reviewer
rfourquet
commented on 2025-05-12
rfourquet
added
needs compat annotation
nsajko
force pushed
from
f6839f7e
to
dcd43a7d
1 year ago
nsajko
removed
needs compat annotation
nsajko
removed
status: waiting for PR reviewer
nsajko
added
status: waiting for PR author
nsajko
force pushed
from
20c81c38
to
c7a76077
1 year ago
nsajko
removed
status: waiting for PR author
nsajko
force pushed
from
e5c2354a
to
1e7a2536
1 year ago
nsajko
added
status: waiting for PR reviewer
add `shuffle(::NTuple)` to `Random`
7936a9f4
rely on `shuffle!` and on escape analysis instead of on recursion
f3fb9f9a
bugfix: use provided pseudorandom generator
dc162c38
simplify using `randperm!` as per rfourqet
2eee6e61
delete unnecessary branch
8a8efffa
reindent
fcec4668
add news
9e9c1a53
update doc string, and apply it to the function instead of to a method
ed3e09a8
use narrower type when possible as per rfourqet
5b50ae3f
de-hardcode `typemax(UInt8)`
90f1d2df
safer
6e80b0d6
use `shuffle!` instead of `randperm!` again
18ededb7
relax one-arg method
c6c39973
simpler dispatch constraint
4ab6f864
delete now unnecessary method
d7191ef5
delete extraneous newline
8f3800f8
omit no alloc test set
ba162dc2
fix dispatch constraint: restrict to `NTuple`
912ec6c7
add compat annotation to doc string
35feb2dd
adjust "not identity at least once" test
bed23af8
expand comment
9944d1c7
simplify syntax, less `let`, etc
6ebd8244
use `randperm!` again, as it supports `Memory` now
d1ea278d
nsajko
force pushed
from
1e7a2536
to
d1ea278d
1 year ago
restrict the one-arg method from `Tuple` to `NTuple`
f9dd73df
Merge branch 'master' into shuffle_ntuple
157ad7a1
adienes
commented on 2025-06-16
Merge branch 'master' into shuffle_ntuple
468c0235
Merge branch 'master' into shuffle_ntuple
c7ace206
adienes
commented on 2025-08-11
adienes
commented on 2025-08-11
elide the typeassert
4b3c1411
adienes
approved these changes on 2025-08-15
adienes
removed
status: waiting for PR reviewer
adienes
added
merge me
Merge branch 'master' into shuffle_ntuple
b69ed598
IanButterworth
merged
f4af91db
into master
351 days ago
nsajko
deleted the shuffle_ntuple branch
351 days ago
nsajko
removed
merge me
Login to write a write a comment.
Login via GitHub
Reviewers
adienes
rfourquet
barucden
Assignees
No one assigned
Labels
randomness
stdlib
feature
Milestone
No milestone
Login to write a write a comment.
Login via GitHub