re-evaluate/remove Random.UnsafeView
#36718
Labels
domain:randomness
Random number generation and the Random stdlib
kind:good first issue
Indicates a good issue for first-time contributors to Julia
status:help wanted
Indicates that a maintainer wants help on an issue or pull request
stdlib
Julia's standard library
I just noticed the
Random
stdlib has anUnsafeView
type for filling arrays. With the new layout optimizations, this should no longer be necessary. We should try using the normal SubArray type for this. If it's still too slow/complex, then at least the type can be made safe by holding the underlying array directly instead of aPtr
.The text was updated successfully, but these errors were encountered: