Yup, that did it. And wow is it fast. *function testing(k::Vector)*
*return map((x::Float64) -> x^2, k)* *end* *@time testing(k)*0.000007 seconds (7 allocations: 8.125 KB) On Monday, August 1, 2016 at 12:25:59 PM UTC-4, David P. Sanders wrote: > > Don't do benchmarks in global scope. Wrap everything in a function.