I find myself in the same position. What is the current wisdom on this subject? Any news tricks available with 0.4?
In my case, the number of rows is fairly small (<100), but the number of columns can grow quite large (pushing the limits of a laptop). Thanks. On Saturday, December 28, 2013 at 9:45:15 AM UTC+8, Sheehan Olver wrote: > > What's the "best" way of constructing an array that can grow adaptively? > For example, it has fixed m rows but the number of columns grows as an > algorithm proceeds. Unfortunately, > > resize! > > doesn't work for 2d arrays. It does work for Array{Array{Float64,1},1}, > but not sure that's optimal. > > > > > >