4 ms·
I'm not the sharpest functional programmer in the cohort, but isn't `apply` a parallelizable for-loop? apply(l, print) is the same as for el in l:
by wodenokoto 8y ago
I'm not the sharpest functional programmer in the cohort, but isn't `apply` a parallelizable for-loop?
apply(l, print)
is the same as
for el in l:
print(el)
which is a number of print statements, rather than 1 print statement with a number of arguments.