Skip to content

Add cache to approximant finding

Colm Talbot requested to merge cache-approximant into master

The call to the lalsim approximant function happens during every waveform generation with always the same input.

This MR will drastically reduce the number of those calls as long as fewer than 10 different waveform approximants are used during an analysis (that should be safe for most users.)

While the function is fast, the repeated calls can add up over an analysis.

Edited by Colm Talbot

Merge request reports