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: Thu, 27 Jun 2013 13:21:34 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

Follow-up Comment #5, patch #8093 (project octave):

The call to isscalar was in my own code. Yes, I see that using numel directly
would be faster, since it's built-in.

I'm still curious about the "we try to avoid writing functions in C++ whenever
possible" policy, though. What are the tradeoffs of keeping simple functions
as m-files versus building them in?

    _______________________________________________________

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]