I have these DSP routines <https://github.com/JayKickliter/Radio.jl/blob/master/src/Filter/FIRFilter.jl> that do sample rate conversion. My goal from the beginning was to make the code easy to use in a one-off fashion, or in a way that preserves state between calls. For some reason that I can't even remember, I started off with the state-free versions doing all the heavy lifting. I now think I should have done it the other way around. But if anyone else winds up using this code, I imagine they will be using the stateless versions most of the time. There's a little overhead in creating the state-preserving filter objects, which would be wasted if you're only going to use them once.
What would you do? I've been working on this code for months, and would really like to release it. But I'd like to hear some opinions before I go and change everything.
