Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337126 - improve dlmread() performance in =sci-mathematics/octave-3.2.4
Summary: improve dlmread() performance in =sci-mathematics/octave-3.2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 19:45 UTC by Fabio Rossi
Modified: 2010-09-14 16:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
octave-3.2.4-dlmread-speedup.patch (octave-3.2.4-dlmread-speedup.patch,5.96 KB, patch)
2010-09-13 19:46 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2010-09-13 19:45:59 UTC
Backport of the dlmread() function version in the octave development trunk. 
This patch is taken from 
  http://hg.savannah.gnu.org/hgweb/octave/rev/3d5c6b84ddaf
and increases considerably the execution speed of the function.

Here, on a Q9650 processor, the load time of a file with 4159712 lines and 5 
columns passes from 279341 seconds (yes, ~77 hours) to 14.1959 seconds. Definitely a patch to be inserted in the current stable ebuild of octave :-)
Comment 1 Fabio Rossi 2010-09-13 19:46:22 UTC
Created attachment 247167 [details, diff]
octave-3.2.4-dlmread-speedup.patch
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2010-09-14 16:45:46 UTC
in cvs. thanks!