octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #8093] Convert isscalar to a built-in func


From: Jason Alan Palmer
Subject: [Octave-patch-tracker] [patch #8093] Convert isscalar to a built-in function
Date: Tue, 25 Jun 2013 01:01:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0

URL:
  <http://savannah.gnu.org/patch/?8093>

                 Summary: Convert isscalar to a built-in function
                 Project: GNU Octave
            Submitted by: jalanpalmer
            Submitted on: Tue 25 Jun 2013 01:01:53 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This simple patch converts the isscalar function from an m-file to a
built-in.

I ran 'make check' before and after the change: all tests still pass.

(FYI: I made this because I was profiling some of my own code and saw that a
lot of time was spent in isscalar and friends due to the arg-checking I was
doing. If this patch is considered correct, then I'll have a list of other
functions to give the same treatment to.)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 25 Jun 2013 01:01:53 AM GMT  Name: isscalar_built-in.diff  Size: 3kB
  By: jalanpalmer
diff from hg export
<http://savannah.gnu.org/patch/download.php?file_id=28405>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8093>

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




reply via email to

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