[Top][All Lists]

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

[Octave-bug-tracker] [bug #41426] OOM for issymmetric on sparse matrices

From: David Spies
Subject: [Octave-bug-tracker] [bug #41426] OOM for issymmetric on sparse matrices
Date: Mon, 03 Feb 2014 17:12:17 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.102 Chrome/32.0.1700.102 Safari/537.36

Follow-up Comment #5, bug #41426 (project octave):


I'm a little confused though
How is that possible?  issparse(x) should just check a single bit or boolean
or type or something, whereas the possibility of early termination as provided
by 'any' can avoid examining nearly all the elements (if the matrix isn't

Is the implicit copy operation associated with passing an argument to a
function not being elided for issparse?
For that matter, does octave do copy ellision for functions which don't modify
their inputs?  Is it something I should worry about?

Or is it just the case that in practice this method is generally only used
inside an assert statement (in which case it's expected to always hold, so
using 'any' doesn't provide any benefit)?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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