Skip to content
Tcl Source Code History Of Ticket 403001ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 403001ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 403001ffffffffffffffffffffffffffffffffff

  1. Ticket change [45f93f913a] (rid 99437) by nobody on 2000-12-22 09:42:10:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to: " "
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: ""
    10. title initialized to:
      (WIN32)File stat calls in large dirs are up to 100x faster
      
    11. type initialized to: "Patch"
  2. Add attachment "None" [0e43edea51] (rid 94586) by nobody on 2000-12-22 16:42:10.

  3. Ticket change [8f5e1f3d28] (rid 120267) by andreas_kupries on 2001-01-02 18:07:05:

    1. 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).
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  4. Ticket change [b6ee154e9a] (rid 125497) by nobody on 2001-02-02 23:38:47:

    1. 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.
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  5. Ticket change [32a95fe56b] (rid 93652) by dgp on 2001-02-22 07:01:52:

    1. subsystem changed to: "36. Pathname Management"
  6. Ticket change [089d4acd6c] (rid 89599) by hobbs on 2001-03-24 08:56:06:

    1. 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...
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  7. Add attachment "403001.patch" [d0b10e8c93] (rid 113224) by hobbs on 2001-03-24 08:56:06.

  8. Ticket change [77e6845477] (rid 89852) by hobbs on 2001-03-24 08:56:07:

    1. icomment:
      
      
      File Added - 4586: 403001.patch
      
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  9. Ticket change [54cffecc76] (rid 94015) by hobbs on 2001-03-24 08:57:10:

    1. 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...
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  10. Add attachment "403001.patch" [74eb71c68b] (rid 105300) by hobbs on 2001-03-24 08:57:10.

  11. Ticket change [937fbb6e23] (rid 105828) by hobbs on 2001-03-24 08:57:43:

    1. 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...
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  12. Add attachment "403001.patch" [3be4f72f66] (rid 112830) by hobbs on 2001-03-24 08:57:43.

  13. Ticket change [35c30ab35a] (rid 106997) by vincentdarley on 2001-08-13 04:01:17:

    1. 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).
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  14. Ticket change [7d63108ac0] (rid 97233) by vincentdarley on 2001-09-17 17:33:24:

    1. 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.
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  15. Ticket change [e46d18221c] (rid 87945) by hobbs on 2001-10-17 06:00:22:

    1. assignee changed to: "hobbs"
  16. Ticket change [231c64e393] (rid 130862) by vincentdarley on 2001-11-27 17:19:03:

    1. closedate changed to: "2001-11-27T10:19:03"
    2. closer changed to: "vincentdarley"
    3. 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.
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "vincentdarley"