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

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

[Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow
Date: Fri, 11 Sep 2015 14:12:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0

Follow-up Comment #9, bug #45890 (project octave):

It would probably work OK in many cases, but what if a_nr is very large
compared to a_nc?  In that case, interrupting would be less responsive.

It would be easy enough to do some tests just to see whether removing it
completely actually makes a significant difference.

Note that octave_quit is an inline function that just does


  if (octave_signal_caught)
    {
      octave_signal_caught = 0;
      octave_handle_signal ();
    }


so it should just be checking a variable value and not performing an actual
function call.  Given the other things that happen in the inner loop in
SPARSE_FULL_MUL, I'd be surprised if that makes a significant difference, but
I suppose it could.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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