bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] [bug #51104] gsl_permutation_next efficiency


From: Patrick Alken
Subject: [Bug-gsl] [bug #51104] gsl_permutation_next efficiency
Date: Wed, 24 May 2017 04:46:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?51104>

                 Summary: gsl_permutation_next efficiency
                 Project: GNU Scientific Library
            Submitted by: psa
            Submitted on: Wed 24 May 2017 08:45:59 AM UTC
                Category: Performance
                Severity: 3 - Normal
        Operating System: 
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any

    _______________________________________________________

Details:

from pgsinitsyn =at= gmail =dot= com

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



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 24 May 2017 08:45:59 AM UTC  Name: benchmark.pdf  Size: 6kB   By:
psa

<http://savannah.gnu.org/bugs/download.php?file_id=40775>
-------------------------------------------------------
Date: Wed 24 May 2017 08:45:59 AM UTC  Name: result.txt  Size: 2kB   By: psa

<http://savannah.gnu.org/bugs/download.php?file_id=40776>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51104>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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