bugGNU Octave - Bugs: bug #42454, Re-code frequently used predicate...

 
 

bug #42454: Re-code frequently used predicate tests in to C++ implementations for performance

Submitted by:  Rik <rik5>
Submitted on:  Wed 28 May 2014 04:32:08 PM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 09 Jun 2014 05:30:18 AM UTC, comment #1:

isscalar, isvector, isrow, iscolumn, and issquare have all been promoted to C++ versions on the development branch. Closing report.

Rik <rik5>
Project Administrator
Wed 28 May 2014 04:32:08 PM UTC, original submission:

Some of the simple predicate tests, such as isscalar() or isvector(), are used abundantly during the input validation section of most m-file functions. It would be beneficial to have a C++ implementation, rather than an m-file one, to avoid interpreter overhead.

isscalar has already been coded in this patch (https://savannah.gnu.org/patch/?8093). The author reports a 4X speed improvement.

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies, patch dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jalanpalmer
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-09 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2014-05-28 jalanpalmer Carbon-Copy- => Added jalanpalmer
    2014-05-28 rik5 Dependencies- => Depends on bugs #42422
    2014-05-28 rik5 Dependencies- => Depends on patch #8093

    Back to the top


    Powered by Savane 3.3