-
Notifications
You must be signed in to change notification settings - Fork 17
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
Indxing type stability #137
Comments
I think it would be good to avoid this if statement here using dispatch: |
From my tests, everything should be type stable now with #146 . However, we don't have formal unit tests for this yet. @rafaqz I have never written type-stability tests, do you have a few pointers? @Alexander-Barth I know it would be great to get rid of any runtime checks. However, some things are only detectable at runtime, for example if a vector index like |
There are a few ways. |
Theres also @test_call in JET but it often returns too many things to be useful https://aviatesk.github.io/JET.jl/dev/jetanalysis/#JET.@test_call |
For now I added some |
We need to thoroughly audit type stability when indexing, maybe with some
@inferred
tests.See: #131
The text was updated successfully, but these errors were encountered: