-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi,
This is not really an issue. I am wondering if the following is expected to allocate:
julia> F = zeros(31,61);
julia> PS = FastSphericalHarmonics.plan_sph_synthesis(copy(F))
FastTransforms plan for FFTW Fourier synthesis on the sphere for 31×61-element array of Float64
julia> @time lmul!(PS,F);
0.000356 seconds (147 allocations: 10.453 KiB)
julia> @time lmul!(PS,F);
0.000368 seconds (147 allocations: 10.453 KiB)
I am trying to optimize FastSphericalHarmonics.sph_evaluate!
by caching the plans and stumbled on this allocation.
Metadata
Metadata
Assignees
Labels
No labels