I'm terribly sorry. After checking another time I found a typo in my 
original wrapper-function that was responsible. The performance was not a 
problem at all but my wrapper-function was doing twice the work due to my 
own stupidity.

Thank you for the replies any way. People seem to be nice around here.
Best,
J.

Am Donnerstag, 2. Oktober 2014 23:14:18 UTC+2 schrieb Milan Bouchet-Valat:
>
>  Le jeudi 02 octobre 2014 à 13:51 -0700, Jürgen Bohnert a écrit : 
>
> Hi everyone,
>
> I'm new to using julia and I would be grateful if anyone could shed some 
> light on the following performance-issue that I cannot explain.
> For some reason wrapping 2 for-loops into a separate function and then 
> calling that function is 2 times slower than executing the for-loops 
>
> ...... 
>
> the process ends up taking twice the time of the '*loops_simple*' case. 
> Can anyone explain what I'm doing wrong?
>
> I think you're going to get many replies if you manage to post a short 
> reproducible example somewhere, e.g. in a GitHub gist. It's hard to tell 
> what's happening without seeing a concrete piece of code in action.
>
>
> Regards
>
>  Thanks in advance.
>
> I'm running julia Version 0.4.0-dev+584; Commit 114abf4; x86_64-linux-gnu
>
>  
> 

Reply via email to