comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » FILE_SEARCH bug ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
FILE_SEARCH bug ? [message #57932] Mon, 07 January 2008 02:17
david[4] is currently offline  david[4]
Messages: 5
Registered: January 2008
Junior Member
Hi all,

I am trying to list the content of a directory using FILE_SEARCH.
The problem is that my directory is mounted in windows XP with SAMBA.

IF I type :
(Z is the samba unit ) 5500 files aprox

a=FILE_SEARCH('z:\images\*.sav') -> more than 10 seconds

a=FINDFILE('z:\images\*.sav') -> less than 1 second

SPAWN,'dir z:\images\*.sav',list -> less than 1 second

If i copy the images to my local disk:

a=FILE_SEARCH('c:\images\*.sav') -> less than 1 second


I have read that file_search is slower than findfile. However findfile
is supposed to be obsolette.
Furthermore i don't understand why there is so much difference listing
the files with file_search or findfiles in
a samba unit. If I execute file_search in a local dir is as fast as
findfile, why ?

thanks,
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Comparing tabulated functions
Next Topic: Re: How good is Randomu?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 23 22:27:39 PDT 2025

Total time taken to generate the page: 1.84182 seconds