It would also be useful to know how you are timing your code.

Cheers,
  Kevin

On Friday, July 11, 2014, Keith Campbell <[email protected]> wrote:

> Implementation details can make a very big difference in the performance
> of Julia code.  You can see some considerations at
> http://docs.julialang.org/en/latest/manual/performance-tips/.
>
> Also, if you post your test code, perhaps as a Gist, that will make it
> easier for folks to provide useful feedback.
> cheers,
> Keith
>
> On Friday, July 11, 2014 12:28:15 PM UTC-4, David C Cohen wrote:
>>
>> Hi,
>>
>> I understand that Julia and R nnls do not use the same algorithm. A
>> 400x300 problem on my machine takes about 0.02 s on R nnls, and about 2 s
>> on Julia nnls.
>>
>> The documentations on nnls is rather poor:
>>
>> ?nnls
>>
>> nnls (generic function with 2 methods)
>>
>>
>> Am I missing something here, or is this implementation is meant to be slow?
>>
>>

Reply via email to