Re: [julia-users] Why is "collect" better than "[]"?

2016-06-06 Thread Kevin Squire
For reference:

https://github.com/JuliaLang/julia/issues/3737
https://github.com/JuliaLang/julia/pull/8599
https://github.com/JuliaLang/julia/issues/10290

Cheers!
  Kevin

On Mon, Jun 6, 2016 at 8:11 AM, Mauro  wrote:

> This was discussed at length on github, have a look there.  But
> essentially to make it easier to create vectors of vectors.
>
> On Mon, 2016-06-06 at 16:35, K leo  wrote:
> > Why deprecate array concatenation with "[]" and suggest to use "collect"?
> > It requires more typing and makes code less elegant.  What do we really
> > gain with inefficiency?
> >
> > Also using "[]" directly in REPL does not have problem, but including
> code
> > generates warning.  Why?
>


Re: [julia-users] Why is "collect" better than "[]"?

2016-06-06 Thread Mauro
This was discussed at length on github, have a look there.  But
essentially to make it easier to create vectors of vectors.

On Mon, 2016-06-06 at 16:35, K leo  wrote:
> Why deprecate array concatenation with "[]" and suggest to use "collect"?
> It requires more typing and makes code less elegant.  What do we really
> gain with inefficiency?
>
> Also using "[]" directly in REPL does not have problem, but including code
> generates warning.  Why?


[julia-users] Why is "collect" better than "[]"?

2016-06-06 Thread K leo
Why deprecate array concatenation with "[]" and suggest to use "collect"?
It requires more typing and makes code less elegant.  What do we really
gain with inefficiency?

Also using "[]" directly in REPL does not have problem, but including code
generates warning.  Why?