http://docs.julialang.org/en/latest/manual/faq/#how-do-abstract-or-ambiguous-fields-in-types-interact-with-the-compiler
http://docs.julialang.org/en/latest/manual/faq/#how-should-i-declare-abstract-container-type-fields

--Tim

On Wednesday, June 10, 2015 10:53:44 PM Steven G. Johnson wrote:
> On Thursday, June 11, 2015 at 6:21:01 AM UTC+2, Lyndon White wrote:
> > Containers of abstract types are not performant,
> > However containers of concrete types are not generic.
> 
> That's why you should use parameterized types like Matrix{T}.  This gives
> you an abstract family (Matrix) of concrete types (Matrix{T}), giving
> mostly the best of both worlds (generic code + performance).

Reply via email to