3 ms·
I understand this “looks cleaner” but we should really understand what the transpiler or compiler is doing behind the scenes. Functional code like this might in
by pixel_tracing 4y ago
I understand this “looks cleaner” but we should really understand what the transpiler or compiler is doing behind the scenes. Functional code like this might introduce bottlenecks in performance.
In some languages the imperative for loop is the most efficient way to iterate, sometimes the compiler does optimize functional code into imperative code