|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #30787] Table lookup performance is really slow |
Date: | Mon, 16 Aug 2010 11:01:27 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.126 Safari/533.4 |
URL: <http://savannah.gnu.org/bugs/?30787> Summary: Table lookup performance is really slow Project: GNU Octave Submitted by: None Submitted on: Mon 16 Aug 2010 11:01:26 AM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Assigned to: None Originator Name: Ondrej Such Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 3.2.2 Operating System: Microsoft Windows _______________________________________________________ Details: Try out commands problem1 = readmps("afiro.mps"); problem2 = readmps("80bau3b.mps"); The former one is very slow, and the latter does not even complete in any reasonable amount of time. The MPS files are standard ones from a NETLIB collection, and the author of readmps says his code runs fine in Matlab (code downloaded from http://infohost.nmt.edu/~borchers/readmps.html). The slowness of the code appears to be caused by linear time lookups in coltable created by calling newtable() Octave built-in function. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 16 Aug 2010 11:01:27 AM UTC Name: readmps.zip Size: 8kB By: None <http://savannah.gnu.org/bugs/download.php?file_id=21234> ------------------------------------------------------- Date: Mon 16 Aug 2010 11:01:27 AM UTC Name: afiro.mps Size: 3kB By: None <http://savannah.gnu.org/bugs/download.php?file_id=21235> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30787> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |