[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave suddenly slow
From: |
Rob Mahurin |
Subject: |
Re: Octave suddenly slow |
Date: |
Tue, 18 Nov 2008 13:26:46 -0500 |
On Nov 17, 2008, at 8:30 PM, John W. Eaton wrote:
There is still a penalty any time a directory with a large
number of files is added to the load path because Octave caches the
contents of all directories that are added to the load path. I don't
see a way around that.
Using a list instead of a vector should make reading N names run in O
(N) time, rather than O(N^2) time. Sounds like a winner to me.
Cheers,
Rob
--
Rob Mahurin
Department of Physics and Astronomy
University of Tennessee 865 207 2594
Knoxville, TN 37996 address@hidden