[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/
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Ceral Paquet, 2015/09/06
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Kai Torben Ohlhus, 2015/09/07
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Ceral Paquet, 2015/09/08
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Kai Torben Ohlhus, 2015/09/08
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Ceral Paquet, 2015/09/08
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Kai Torben Ohlhus, 2015/09/08
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Carlo de Falco, 2015/09/08
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Carlo de Falco, 2015/09/08
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Marco Caliari, 2015/09/11
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow,
John W. Eaton <=
- [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow, Marco Caliari, 2015/09/11