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

 
 

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

Submitter:  Rik <rik5>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-f8d8.
    Corresponding source code