4 ms·filter allocates an array with new elements doesn't it ? C# variant on the other hand doesn't.by leosanchez 2y agofilter allocates an array with new elements doesn't it ? C# variant on the other hand doesn't.