Skip to content

Delete some functions already defined in Base#1325

Closed
JamesWrigley wants to merge 1 commit intoJuliaArrays:masterfrom
JamesWrigley:invalidations
Closed

Delete some functions already defined in Base#1325
JamesWrigley wants to merge 1 commit intoJuliaArrays:masterfrom
JamesWrigley:invalidations

Conversation

@JamesWrigley
Copy link
Copy Markdown

This fixes some invalidations. On Julia 1.12 the number of invalidations go down from 1628 to 1498. As a dependency of CUDA.jl and in combination with JuliaData/SentinelArrays.jl#119 the number of invalidations from loading CUDA go from 11175 to 10432.

One potentially dodgy change is removing the getindex() method, but I benchmarked it against the default one in Base and got the same results (~3 ns). When running the tests I also found that one of the @test_broken tests was passing so I fixed that too, but it's an allocation test so it may just be a 1.12 thing.

This fixes some invalidations.
@JamesWrigley
Copy link
Copy Markdown
Author

Closing because the inference failures are a bit too tricky for me to debug right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant