Re: File Searching, how to speed it up?
- From: Mike Blake-Knox <mikebk@xxxxxxxxxxxxx>
- Date: Mon, 28 May 2007 14:41:19 -0400
In article <x66dnXxpNeJZacXbnZ2dnUVZ_j2dnZ2d@xxxxxxxxxxxxx>, Janderson
wrote:
While I get a significant improvement when none of the directories
change (its much faster to load a file with all the entries in it then
to do a directory search). In particular the first time the app loads
up and has to search every file (around 100,000 and growing) which is
painfully slow (2 or 3 minutes to start up the app).
What techniques/APIs can I use to speed up file searching?
Is your speed requirement such that you could take a bit longer on the
first search than on subsequent ones? If so, you could cache information
from the first search and use it for subsequent searches. This might
actually speed up your first search as it wouldn't require building a
complete cache before the first search.
Mike
.
- Follow-Ups:
- Re: File Searching, how to speed it up?
- From: janderson
- Re: File Searching, how to speed it up?
- References:
- File Searching, how to speed it up?
- From: janderson
- File Searching, how to speed it up?
- Prev by Date: Re: File Searching, how to speed it up?
- Next by Date: Re: File Searching, how to speed it up?
- Previous by thread: Re: File Searching, how to speed it up?
- Next by thread: Re: File Searching, how to speed it up?
- Index(es):
Loading