[julia-users] Weird performance difference; different ways to instantiate an immutable object

2014-06-08 Thread Carlos Baptista
I have a module consisting out of several files. In one file I define two immutables and a union: immutable GlobalRBF eval::Function end immutable CompactRBF eval::Function end const global RBF = Union(GlobalRBF, CompactRBF) and I define several immutable objects of which one is: con

Re: [julia-users] Weird performance difference; different ways to instantiate an immutable object

2014-06-08 Thread John Myles White
Is this the performance difference between anonymous and named functions? — John On Jun 8, 2014, at 8:59 PM, Carlos Baptista wrote: > I have a module consisting out of several files. In one file I define two > immutables and a union: > > immutable GlobalRBF > eval::Function > end > > >

Re: [julia-users] Weird performance difference; different ways to instantiate an immutable object

2014-06-08 Thread Carlos Baptista
Yes, exactly.

Re: [julia-users] Weird performance difference; different ways to instantiate an immutable object

2014-06-08 Thread John Myles White
Ok. That’s a known issue, so it should be get fixed someday. — John On Jun 8, 2014, at 9:08 PM, Carlos Baptista wrote: > Yes, exactly.

Re: [julia-users] Weird performance difference; different ways to instantiate an immutable object

2014-06-08 Thread Carlos Baptista
Thanks!