On Sat, 23 Mar 2019, Sven Schreiber wrote:
Am 20.03.2019 um 01:49 schrieb Allin Cottrell:
> On Tue, 19 Mar 2019, Sven Schreiber wrote:
>>
>> I wonder if this should be wrapped in a hansl function and added to the
>> 'extra' addon, like this:
...
>> As mentioned in the guide, the filter-based variant is indeed about 30%
>> faster in my examples.
The thread then diverged towards my "BTW" remark. So getting back to the
original question, should it go into 'extra'?
I don't have strong feelings either way. The "cheat sheet"
implementation of convolve is just a one-liner, which might suggest
that it's hardly worth adding a convolve function in its own right.
On the other hand the need for, and sizing of, the zero vector to be
appended to the first argument to filter() may not be transparent to
many users, so maybe it's worth hiding that.
Allin