Artifacts Associated With Ticket 403001ffffffffffffffffffffffffffffffffff
Ticket change [45f93f913a] (rid 99437) by nobody on 2000-12-22 09:42:10:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to: " "
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: ""
- title initialized to:
(WIN32)File stat calls in large dirs are up to 100x faster
- type initialized to: "Patch"
Add attachment "None" [0e43edea51] (rid 94586) by nobody on 2000-12-22 16:42:10.
Ticket change [8f5e1f3d28] (rid 120267) by andreas_kupries on 2001-01-02 18:07:05:
- icomment:
Note: Right now the supplied patch is a "reverse patch" (i.e. it describes how to go from the new version of the code back to the original/old code before the fix).
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [b6ee154e9a] (rid 125497) by nobody on 2001-02-02 23:38:47:
- icomment:
The Windows version of 'glob' also needs to get a file's attributes (when the -types flag is given), and seems to call a similar set of APIs to the old stat. It could probably also benefit from being updated with similar code to this patch.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [32a95fe56b] (rid 93652) by dgp on 2001-02-22 07:01:52:
- subsystem changed to: "36. Pathname Management"
Ticket change [089d4acd6c] (rid 89599) by hobbs on 2001-03-24 08:56:06:
- icomment:
Logged In: YES user_id=72656 I've applied and reversed the patch. It does pass test suite on Win2K, but the patch might not take into account the Win9* handling of unicode. Also, what is really getting sped up? I see 'file stat $dirWith1000filesAnd1000dirs s' go from 120 usec to 79 usec, but nothing like 100x...
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Add attachment "403001.patch" [d0b10e8c93] (rid 113224) by hobbs on 2001-03-24 08:56:06.
Ticket change [77e6845477] (rid 89852) by hobbs on 2001-03-24 08:56:07:
- icomment:
File Added - 4586: 403001.patch
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [54cffecc76] (rid 94015) by hobbs on 2001-03-24 08:57:10:
- icomment:
File Added - 4587: 403001.patch Logged In: YES user_id=72656 I've applied and reversed the patch. It does pass test suite on Win2K, but the patch might not take into account the Win9* handling of unicode. Also, what is really getting sped up? I see 'file stat $dirWith1000filesAnd1000dirs s' go from 120 usec to 79 usec, but nothing like 100x...
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Add attachment "403001.patch" [74eb71c68b] (rid 105300) by hobbs on 2001-03-24 08:57:10.
Ticket change [937fbb6e23] (rid 105828) by hobbs on 2001-03-24 08:57:43:
- icomment:
File Added - 4588: 403001.patch Logged In: YES user_id=72656 I've applied and reversed the patch. It does pass test suite on Win2K, but the patch might not take into account the Win9* handling of unicode. Also, what is really getting sped up? I see 'file stat $dirWith1000filesAnd1000dirs s' go from 120 usec to 79 usec, but nothing like 100x...
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Add attachment "403001.patch" [3be4f72f66] (rid 112830) by hobbs on 2001-03-24 08:57:43.
Ticket change [35c30ab35a] (rid 106997) by vincentdarley on 2001-08-13 04:01:17:
- icomment:
Logged In: YES user_id=32170 The code this patches has changed considerably in Tcl 8.4a3, so we need to work out whether we can still apply this technique (I would assume so, but the patch will be very different).
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [7d63108ac0] (rid 97233) by vincentdarley on 2001-09-17 17:33:24:
- 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"
- icomment:
Ticket change [e46d18221c] (rid 87945) by hobbs on 2001-10-17 06:00:22:
- assignee changed to: "hobbs"
Ticket change [231c64e393] (rid 130862) by vincentdarley on 2001-11-27 17:19:03:
- closedate changed to: "2001-11-27T10:19:03"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Recent filesystem changes to improve vfs support on Win95/98 (removing a 30-second startup delay with tclkit!) have introduced something like this patch, in a way which works even when the new APIs are not available (e.g. Win95). Therefore I'm closing it.
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vincentdarley"