Under UNIX it takes only half a minute for the same.
(And thats an old machine !)
I looked into the C-Code and wondered why FindFirstFile is used
at this place. In another C-Application we use GetFilesAttributesEx
for the same purpose and thats very fast. I think it gives all
Information we need for an replacement for stat.
--
Uwe Traum
ibb Grafische Datenverarbeitung
tr...@ibbgdv.de
Why don't you make the necessary changes to this code, check that it
passes all tests, and submit it as a patch on sourceforge? I was also
wondering why that code needs to call FindFirstFile.
Note that TIP#17 (http://www.scriptics.com:8080/cgi-bin/tct/tip/) also
includes some changes to Tcl's filesystem which will improve
performance (although not necessarily for the example you give).
Vince.
Sent via Deja.com
http://www.deja.com/
Remember that when Tcl was first ported, it had to work all the way
back to Win3.1 (16-bit system). It was coded at that time to not
have 3 different ways to do things on the various Windows flavors
when it could be avoided (which wasn't always). I only removed the
16-bit support in 8.3, but this may be a remnant of that that wasn't
clearly specified. I believe there are numerous remnants such as
these that could be improved (also in Tk). Please help us in hunting
down and eradicating these!
Jeff