As in there should be no performance penalty at all in the vast majority of
cases :)

On Fri, Jun 17, 2016 at 4:18 PM, John Myles White <johnmyleswh...@gmail.com>
wrote:

> Specialization of higher-order functions should be much improved in Julia
> 0.5.
>
> On Friday, June 17, 2016 at 1:10:24 PM UTC-7, Douglas Bates wrote:
>>
>> I am writing a simulation function that loops over simulating a data set
>> and fitting multiple statistical models to the data.  The exact form of the
>> output will depend on which characteristics of the fitted models I wish to
>> preserve.  My inclination is to pass a callback function to take the set of
>> models after each iteration and extract and save the characteristics of
>> interest.
>>
>> However, I have a vague recollection that passing a function as an
>> argument to another function was discouraged.  I believe it made type
>> inference awkward.  Was that ever the case and, if so, is still the case?
>>
>

Reply via email to