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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Performance
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich 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 File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies, patch dependencies.

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 Jun 2014 05:30:18 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 28 May 2014 06:19:26 PM UTCjalanpalmerCarbon-Copy-=>Added jalanpalmer
    Wed 28 May 2014 04:33:00 PM UTCrik5Dependencies-=>Depends on bugs #42422
    Wed 28 May 2014 04:32:31 PM UTCrik5Dependencies-=>Depends on patch #8093

    Back to the top


    Powered by Savane 3.1-cleanup