Why do you do arrays using the row array syntax? (i.e. [x y] rather than [x,y])
I think the object constructed using a comma is more efficient
If I'm not mistaken, [x y] actually constructs a 2-dimensional array (Array{T,2} where T = eltype(array)) whereas [x,y] constructs a 1-dimensional array.