At least in one case, there's a potentially unnecessary allocation during calculation of the impulse response of the Filter block here, while for other Vecs, this is avoided there.
Allocation happens here:
let mut response = vec![Complex::<f64>::from(0.0); n];
Allocation is avoided there:
extended_response.clear();
It should be considered to avoid the re-allocation in this and perhaps other blocks.
At least in one case, there's a potentially unnecessary allocation during calculation of the impulse response of the
Filterblock here, while for otherVecs, this is avoided there.Allocation happens here:
Allocation is avoided there:
It should be considered to avoid the re-allocation in this and perhaps other
blocks.