Skip to content
Tcl Source Code History Of Ticket 682500ffffffffff
Login

History Of Ticket 682500ffffffffff

Artifacts Associated With Ticket 682500ffffffffff

  1. Ticket change [25cbf6741c] (rid 88227) by vincentdarley on 2003-02-07 19:02:00:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Here's a first cut at a patch which should speed up 
      the filesystem in Tcl 8.4.1.  At least on Windows, 
      with this patch Tcl 8.4 is faster in things like:
      
      foreach f [glob -dir $dir *] {
         file stat $f arr
         ...
      }
      
      than 8.3, often by a quite a large margin.
      
      I have also attached a file testfs.tcl which I am 
      using for benchmarking.
      
      It is untested on Unix.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "7 High"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "vincentdarley"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "speed up filesystem patch"
    11. type initialized to: "Patch"
  2. Add attachment "fsspeed.diff" [4244a26619] (rid 116341) by vincentdarley on 2003-02-08 02:05:29.

  3. Ticket change [6a72d7bd4d] (rid 128149) by vincentdarley on 2003-02-08 02:05:29:

    1. icomment:
      
      
      File Added - 41785: fsspeed.diff
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  4. Ticket change [be82a9b3ef] (rid 102083) by vincentdarley on 2003-02-08 02:06:16:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Added test script
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  5. Add attachment "testfs.tcl" [5a27ea2a13] (rid 118091) by vincentdarley on 2003-02-08 02:06:16.

  6. Ticket change [b015fc653f] (rid 97921) by vincentdarley on 2003-02-08 02:06:17:

    1. icomment:
      
      
      File Added - 41786: testfs.tcl
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  7. Ticket change [ddd0e623f6] (rid 114743) by jcw on 2003-02-08 05:01:25:

    1. icomment:
      Logged In: YES 
      user_id=1983
      
      confirmed to work (quick test) on Win32 and Linux
      - binary tclkits based on these now in http://www.equi4.com/pub/tk/newer/
      
      
    2. login: "jcw"
    3. mimetype: "text/plain"
    4. username: "jcw"
  8. Ticket change [7320b6934d] (rid 104990) by hobbs on 2003-02-09 10:00:29:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      Note that this part of the patch looks highly suspicious to me, 
      although the return does seem key to Win not going boom:
      
      @@ -3766,10 +3761,14 @@
           if (objPtr->typePtr == &tclFsPathType) {
       FsPath *fsPathPtr = (FsPath*) objPtr-
      >internalRep.otherValuePtr;
       if (fsPathPtr->filesystemEpoch != 
      theFilesystemEpoch) {
      +    if (objPtr->bytes == NULL) {
      +
      +    }
           FreeFsPathInternalRep(objPtr);
           objPtr->typePtr = NULL;
           return Tcl_ConvertToType(interp, objPtr, 
      &tclFsPathType);
       }
      +return TCL_OK;
       if (fsPathPtr->cwdPtr == NULL) {
           return TCL_OK;
       } else {
      
      That's in tclIOUtil.c.  Also, this patch blows the unix test 
      suite (no crashes, just lots of errors), so something about it 
      isn't correct.  I've isolated it to the tclUnixFile.c change.  That 
      looks OK, but I had to revert to the old version for 
      correctness.  Note that one simple change erases all 
      speedups on Linux.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  9. Ticket change [ae22eced54] (rid 101588) by hobbs on 2003-02-09 11:49:27:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      This patch appears incorrect.  I've attached something that 
      may be more correct, but there may be more fundamental 
      flaws in the changes.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  10. Add attachment "fs-682500.diff" [bf8d756edc] (rid 102268) by hobbs on 2003-02-09 11:49:28.

  11. Ticket change [7054e24ec1] (rid 100457) by hobbs on 2003-02-09 11:49:30:

    1. icomment:
      
      
      File Added - 41889: fs-682500.diff
      
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  12. Add attachment "fsspeed2.patch" [7409e22f15] (rid 105132) by vincentdarley on 2003-02-10 06:36:24.

  13. Ticket change [23dc624cf6] (rid 131005) by vincentdarley on 2003-02-10 06:36:24:

    1. icomment:
      
      
      File Added - 41948: fsspeed2.patch
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  14. Ticket change [5921f162d9] (rid 117925) by vincentdarley on 2003-02-10 06:37:46:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Attached newer patch.  Should work on Linux, Windows 
      at least.
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  15. Ticket change [cb87241d67] (rid 95537) by hobbs on 2003-02-10 10:48:58:

    1. icomment:
      
      
      File Added - 41965: fs2-682500.diff
      
      Logged In: YES 
      user_id=72656
      
      Attached updated patch.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  16. Add attachment "fs2-682500.diff" [d837e3b7bd] (rid 107400) by hobbs on 2003-02-10 10:48:58.

  17. Ticket change [639ff46d29] (rid 92615) by vincentdarley on 2003-02-10 19:58:52:

    1. closedate changed to: "2003-02-10T12:58:52"
    2. closer changed to: "vincentdarley"
    3. icomment:
      Logged In: YES 
      user_id=32170
      
      This patch has been applied.  Further improvements are 
      definitely still possible, but require a bit more analysis 
      first.
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "vincentdarley"
  18. Ticket change [f559d3d696] (rid 130090) by hobbs on 2003-02-11 04:31:07:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      The current patch is incorrect.  This needs further testing.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "hobbs"
  19. Add attachment "fs3-682500.diff" [077ee99226] (rid 89411) by hobbs on 2003-02-11 09:08:58.

  20. Ticket change [f36bce636a] (rid 129712) by hobbs on 2003-02-11 09:08:58:

    1. icomment:
      
      
      File Added - 42051: fs3-682500.diff
      
      Logged In: YES 
      user_id=72656
      
      Attached is the patch with extra failing test.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  21. Ticket change [75c83d8741] (rid 105446) by hobbs on 2003-02-11 09:24:11:

    1. icomment:
      
      
      File Added - 42054: fs3.1-682500.diff
      
      Logged In: YES 
      user_id=72656
      
      And attached is a patch to fs3-682500.diff that corrects the 
      failing test.  However, the entire handling of cwdLen, adding 
      and subtracting 1 seems incorrect.  For example, 
      Tcl_FSGetNormalizedPath then passes cwdLen-1, which 
      may also not be correct.  The entire handling of the case for 
      cwdLen == 0 may be incorrect in other places.  It is likely 
      most prudent to revert this all until a more thorough review 
      with additional tests is made.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. resolution changed to: "Rejected"
    5. username: "hobbs"
  22. Ticket change [a62c2c0fed] (rid 98551) by hobbs on 2003-02-11 09:25:28:

    1. icomment:
      
      
      File Deleted - 42054: 
      
      
      
      File Added - 42055: fs3.1-682500.diff
      
      Logged In: YES 
      user_id=72656
      
      Attaching same patch with correct -u formatting this time.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  23. Add attachment "fs3.1-682500.diff" [0ad9ed429a] (rid 113892) by hobbs on 2003-02-11 09:25:28.

  24. Ticket change [690e0a52c8] (rid 103177) by hobbs on 2003-02-11 09:27:09:

    1. icomment:
      
      
      File Added - 42057: fs4-682500.diff
      
      Logged In: YES 
      user_id=72656
      
      And one more time in full (fs4) to make it easy for others ...
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  25. Add attachment "fs4-682500.diff" [23674d50b0] (rid 130926) by hobbs on 2003-02-11 09:27:09.

  26. Ticket change [7b98c67f3e] (rid 96933) by vincentdarley on 2003-02-12 00:28:12:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      NB. Jeff has now committed a fixed patch.  We shall see 
      if any new bugs turn up over the coming week or two.
      
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  27. Ticket change [da8f74e33c] (rid 107808) by hobbs on 2003-02-12 01:56:25:

    1. closedate changed to: "2003-02-11T18:56:25"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Let's call this closed and have any bugs introduced be 
      reported separately.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "hobbs"