I should probably be mentioned in 
http://docs.julialang.org/en/latest/manual/performance-tips/. It's also the 
reason for:
f(i) = i
@time map(f, rand(10000))
@time [f(i) for i in rand(10000)]

where map is very slow compared to the array comprehension.

Reply via email to