Yes, the call to `map` is type-unstable on 0.4, with a return type inferred
as `Tuple{Any, Any, Any}`. It seems fine on 0.5.

-erik

On Sat, Aug 20, 2016 at 11:26 AM, Kristoffer Carlsson <[email protected]
> wrote:

> That creating a new Element allocates is not strange because it creates an
> array. The map call might allocate due to higher order functions not being
> optimal in 0.4.




-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/

Reply via email to