The following expression takes about 12 seconds to compute on my laptop:

*{⍺+⍵}/ ⍳1000000*

However, the equivalent expression without the lambda expression is
immediate (i.e. thr prompt returns before I have time to notice that it
even started calculating):

*+/ ⍳1000000*

What is causing the large difference in performance?

Regards,
Elias

Reply via email to