s2fft icon indicating copy to clipboard operation
s2fft copied to clipboard

Cache quadrature weights

Open jasonmcewen opened this issue 4 months ago • 0 comments

We should cache quadrature weights to avoid recalculating them. While the computation cost of quadrature weights is fairly low we should nevertheless avoid re-calculating. It should be possible to do this simply using the @cache decorator, of the functools module, as discussed here.

jasonmcewen avatar Mar 05 '24 11:03 jasonmcewen