From maintainers-request at octave dot org Thu Feb 10 02:56:54 2005 Subject: strace of exist function for a variable From: David Bateman To: maintainers at octave dot org Date: Thu, 10 Feb 2005 09:58:59 +0100 Has any one tried to do an strace of octave while running the exist function. It appears that exist("","var") will search the patch for dot-m and oct-files even though a variable was explicitly asked for. This certainly makes this significantly slower than it needs to be. Also, strace appears to show that the path is being searched twice, by exist!! It seems to me that there are some rather simple improvements in the speed of the exist function that might be made... Regards David -- David Bateman David dot Bateman at motorola dot com Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary