Memory leak
Created by: sldesnoo-Delft
The memory usage of the pulse library gets huge when a channel has looping parameter on 2 or more axis.
It turns out that a waveform cache stores the last generated waveform for every index of the channel. This cache is only limited by the number of indices which is big when looping over 2 parameters.