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

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

[Octave-bug-tracker] [bug #51403] isequal is slow


From: Rik
Subject: [Octave-bug-tracker] [bug #51403] isequal is slow
Date: Sun, 9 Jul 2017 23:13:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #4, bug #51403 (project octave):

I (Rik) and Daniel Sebald spent a lot of time optimizing isequal.  For an
m-file, its pretty good and uses lots of different techniques.  But if there
is better code we could evaluate including it in Octave.  I think Matlab may
have promoted isequal to a compiled built-in function, rather than an m-file.

Also, I agree with Mike that part of the difficulty was that the function had
to be general for any arguments A,B,C, ...

If you know something about your inputs, such as the fact that they are
cellstr, then you may be able to take advantage of that to simplify the
comparison.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51403>

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




reply via email to

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