You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interpolations.gradient causes some allocations under Julia v1.11 whereas under Julia v1.10 it does not.
Resulting in also some significant performance drop.
MWE:
using BenchmarkTools
using Interpolations
itp =interpolate(rand(11, 11), BSpline(Cubic()))
x, y =3.4, 5.3@btime Interpolations.gradient($itp, $x, $y)
Julia v1.10: 18.136 ns (0 allocations: 0 bytes)
Julia v1.11: 118.716 ns (8 allocations: 384 bytes)
I am not sure if this actually bolongs here or to some dependency or Julia itself.
The text was updated successfully, but these errors were encountered:
Interpolations.gradient
causes some allocations under Julia v1.11 whereas under Julia v1.10 it does not.Resulting in also some significant performance drop.
MWE:
Julia v1.10:
18.136 ns (0 allocations: 0 bytes)
Julia v1.11:
118.716 ns (8 allocations: 384 bytes)
I am not sure if this actually bolongs here or to some dependency or Julia itself.
The text was updated successfully, but these errors were encountered: