help-octave
[Top][All Lists]
Advanced

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

RE: Very slow reading of a 2D matirx


From: John W. Eaton
Subject: RE: Very slow reading of a 2D matirx
Date: Thu, 20 Oct 2005 01:29:30 -0400

On 19-Oct-2005, Mike Miller wrote:

| On Thu, 20 Oct 2005, Alireza wrote:
| 
| > It seems that octave spends too much time on parsing each individual 
| > element. Perhaps someone that knows about the internals of the parsing 
| > of matrices can shed some light on this.
| 
| I thought adding commas might help, but it didn't seem to help.

The slow part is not the parsing, it is the code in
tree_matrix::rvalue() in src/pt-mat.cc that concatenates the values.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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