In ODE.jl, I've used vcat_nosplat(y) = eltype(y[1])[el[1] for el in y] # Does vcat(y...) without the splatting
I think the eltype might not be needed. There may be better ways though. On Sun, 2015-11-22 at 14:04, Cedric St-Jean <[email protected]> wrote: > I have a big vector of vectors. Is there any way to vcat/hcat them without > splatting? > > arr_of_arr = Vector[[1],[2,3],[4,5]] > vcat(arr_of_arr...) > > I'm asking because splatting big arrays is a performance issue (and IIRC it > blows the stack at some point).
