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: Jordi Gutiérrez Hermoso
Subject: [Octave-patch-tracker] [patch #8093] Convert isscalar to a built-in function
Date: Wed, 31 Jul 2013 20:19:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 Iceweasel/22.0

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

Well, if isscalar is slow, that's an actual problem that needs to be fixed. I
would prefer a solution that doesn't involve turning it into a C++ function,
that's all.

But reading the m-file, I don't see how it could be made any faster in m-code.
If you're calling this function millions of times, then I can see how turning
it into C++ could make it go faster. So under what situation are you calling
isscalar millions of times? Is another Octave function to blame? Can we fix
that in m-code instead?

    _______________________________________________________

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]