-
Notifications
You must be signed in to change notification settings - Fork 9
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
Type instability when using PtrArray
with Julia v1.10 and --check-bounds=no
#78
Comments
PRs welcome.
For starters, |
@ranocha made it a more minimum MWE and it turns out it is not related to StrideArrays.jl but rather Static.jl and |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With Julia v1.10-beta2 and
--check-bounds=no
, indexing into aPtrArray
seems to be type unstable. When running the following MWE (mwe.jl
),with
julia-1.10 --check-bounds=no mwe.jl
, we get the following output:This does not appear to happen with Julia v1.9 or without using
--check-bounds=no
:`julia-1.10 mwe.jl`
`julia-1.9 --check-bounds=no mwe.jl`
Unfortunately, this regression makes StrideArrays.jl currently unusably slow on Julia v1.10 with bounds checking disabled globally.
cc @ranocha
The text was updated successfully, but these errors were encountered: