help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] gsl_permutation_next


From: Pavel Sinitcyn
Subject: [Help-gsl] gsl_permutation_next
Date: Tue, 11 Apr 2017 17:58:20 +0200

Hello everyone,

I was reading the permutation module of GSL and found that a function
"gsl_permutation_next" can be improved (you can see function
gsl_permutation_next0
<https://gist.github.com/pgsin/fc779f7ce7d4724221fe2dc5450e9358#file-gsl_permutation_next-test-c-L111>,
more specifically - this line
<https://gist.github.com/pgsin/fc779f7ce7d4724221fe2dc5450e9358#file-gsl_permutation_next-test-c-L135>
).

I made a benchmarking on my computer (AMD Opteron(TM) Processor 6276; gcc
-O2; gcc Ubuntu 4.8.4-2ubuntu1~14.04.3) and found a significant difference
in the performance (result contains stdout; bencmark.pdf - visualisation).

Best,
Pavel Sinitcyn

Attachment: benchmark.pdf
Description: Adobe PDF document

Attachment: result
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]