Overview
| Artifact ID: | 7d63108ac0ee763b68414dbd0c7b349b1040dacf |
|---|---|
| Ticket: | 403001ffffffffffffffffffffffffffffffffff
(WIN32)File stat calls in large dirs are up to 100x faster |
| User & Date: | vincentdarley on 2001-09-17 17:33:24 |
Changes
- icomment:
Logged In: YES user_id=32170 Replying to Jeff below. This patch probably won't work properly in Win9*. The patch uses GetFileAttributesExW which has a companion GetFileAttributesExA Probably the best way is to replace: (*tclWinProcs->getFileAttributesProc) which calls the non-Ex functions GetFileAttributesW/A) with the 'Ex' functions. This requires changes to the 20 locations in tcl/win which use the old function. Alternatively, we could add a new 'Ex' entry to *tclWinProcs and use that here. Then the rest of the code could be slowly migrated to the faster API. I haven't tested out or read anything on how much faster this new API is supposed to be.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"