doc asked good question in IM:
quote:
what kind of results / speed would it have though if it was watching something like the SYSTEM32 folder with thousand plus files?
so I checked and was ready to write some folder size checking and stuff.
but, checking gave the results I couldn't even imagine.
remember, I have indexing turned off.
first scan took about 30 secs.
then it reported the file and became fast.
stopped the script and restarted and behold, it was fast again.
so, seems kix uses shell-object or similar for dir.
this way explorer will keep "cache" of the folder listing for later use.
obviously, that's only a quess, but the results are a fact.
it's fast even for large folders and the processor usage is quite small even with large folders.
anyway, if you don't need that kinda fast retrieval but you can manage with say "sleep 10", you should use that.
with my laptop during this posting it has taken a minute of processor time already scanning system32 with sleep 1.
so, one should see the best suited setting for the folder size and the load-balancing need in the system.
_________________________
!download
KiXnet