[mailto:[EMAIL PROTECTED] On Behalf
Of Simon Haddon
Sent: Wednesday, 22 October 2008 6:17 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Lots of calls to DirectoryExists()
File system access to see if a file or directory exists is fast. Can't
imagine it causing a problem any more than
I think it was Sean too, however it would not just be Sean.
One of things we as developers tend to ignore, well maybe not ignore. But we
do try to emphasise to much on getting it right the first time, the pressure
from clients to do this is let's say a big factor in the equation.
However it may
I think it wouldn't be too bad, but there might be smarter ways.
What about recursively browse the directory once and build a struct, then
you can use if structKey exists
Regards
Dale Fraser
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Joel Chia
Sent:
Is there a performance issue ? don't prematurely optimise unless you have to:)
how does your app perform with your max expected number of users
and directories being checked?
file systems are pretty fast these days.
jmeter is pretty easy to setup to test this kinda load, there's a
quick guide
File system access to see if a file or directory exists is fast. Can't
imagine it causing a problem any more than, say, a small loop. Easier than a
database query. If you start having performance issues then there could be a
whole range of things that can cause problems rather than a