|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #51403] isequal is slow |
Date: | Mon, 10 Jul 2017 13:37:08 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #6, bug #51403 (project octave): I pushed your cset here (http://hg.savannah.gnu.org/hgweb/octave/rev/b85a46745298). I changed it to remove the call to numel() in the conditional of the while loop since Octave cannot optimize that function call out, and yet the value is a constant and doesn't need to be re-calculated. I also added a FIXME note to replace the while loop over every element of the cellstr with strcmp calls between each element of varargin once bug #51412 is fixed. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51403> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |