cache/memoize results of "precomp" functions
The breaking apart of the precomp function and elimination of the ifo precomp step (hopefully merged soon) will leave us in a situation where some functions are calculated redundantly in a full budget calculation. In particular all of these functions, defined in ifo.noises:
- arm_cavity
- coating_thickness
- ifo_power
- precomp_gwinc
- precomp_suspension
@sean.leavey found a couple of intriguing things in the functools package that might be helpful: