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

Home » Public Forums » archive » Findfile in large directories
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Findfile in large directories [message #50683 is a reply to message #50632] Fri, 13 October 2006 04:38 Go to previous messageGo to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On 13 Oct 2006 03:25:15 -0700, "Maarten" <maarten.sneep@knmi.nl>
wrote:

> Well, things will be slow on and SMB mounted drive, not much you can do
> for that. How long does it take Windows Explorer to list all the files?
> And does it get notified of changes quickly and reliably?

It takes explorer +/- as long as findfile. And yes, it gets notified,
but with delays.

> Using a cache to keep a list of the files is an option, but may be hard
> if the directory contents change quickly. You may want to use
> search_file with an approriate wildcard pattern to limit the list you
> ask for to files that are likely to be next to the current file. This
> pattern will depend on the file naming convention you have for this
> directory (and please don't tell me that there is no convention for a
> directory with 1000+ files).

Appart from filtering on extention, there is no other naming
convention. The files can have different origins (apps) which you
don't know on beforehand.

> Pre-structuring your data by educating your users to use subdirectories
> and thereby limiting the number of files in a single directory might
> also help.

True. This might just be the only thing that can be done.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Findfile in large directories
Next Topic: Opening a .isv file

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

Current Time: Thu Oct 09 22:30:05 PDT 2025

Total time taken to generate the page: 1.03837 seconds