copyto!
sometimes copies whole source array when there is possibility of aliasing
#50900
Labels
copyto!
sometimes copies whole source array when there is possibility of aliasing
#50900
The issue is that unaliasing checks for possible aliasing, and if present copies the entire source array. This causes major performance losses here. It can also cause bugs when reading from an array has side effects (this is responsible for a test failure in JuliaCollections/SortingAlgorithms.jl#71)
The text was updated successfully, but these errors were encountered: