Re: Fast Size Folder
- From: "Mike Williams" <mikea@xxxxxxxxxxxxxxxxx>
- Date: Tue, 4 Sep 2007 12:02:20 +0100
"Lorin" <Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:59D4BDD6-2BF4-4BF0-92A7-4EC271F61027@xxxxxxxxxxxxxxxx
Very interesting...It seems that the code you rode
also caches in the os. The first time I run on a large
folder I get 150 secs, the next time I get 1.97 secs.
Splain that.
Yes, I know. In fact that's what I said when I posted the code. It behaves in that way for exactly the same reason that the OS itself behaves in that way, probably because of normal disk caching but also possibly to do with extra caching that the OS might be performing. I'm fairly sure that the OS checks the total folder size in pretty much the same way as the VB code is doing, and probably using the very same API routines.
Mike
.
- References:
- Re: Fast Size Folder
- From: Mike Williams
- Re: Fast Size Folder
- From: Lorin
- Re: Fast Size Folder
- Prev by Date: How to determine that no row is selected in mshflexgrid
- Next by Date: Re: retrieve data from html page to input as a string or text file
- Previous by thread: Re: Fast Size Folder
- Next by thread: Re: Fast Size Folder
- Index(es):
Relevant Pages
|
Loading