fgasdia / LongwaveModePropagator.jl

Model the propagation of VLF radio waves in the Earth-ionosphere waveguide.
https://fgasdia.github.io/LongwaveModePropagator.jl/dev
MIT License
15 stars 5 forks source link

Investigate performance difference between computation and storage of `ea` #50

Closed fgasdia closed 2 years ago

fgasdia commented 2 years ago

EigenAngle currently precomputes and stores trigonometric functions of ea. Computation of these functions may be faster than memory access of the struct fields. See e.g. https://viralinstruction.com/posts/optimise/#reduce_memory_consumption.