Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bab3f2b0c002b66401d76b16cfcb899be124d035
Ticket: 871583ffffffffffffffffffffffffffffffffff
filesystem optimization, committed jan 2004
User & Date: dgp on 2004-01-16 01:22:21
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    Just another optimization
    suggestion.  Near the end
    of TclFSCwdPointerEquals()
    when string comparison
    is done to verify that the
    two cwdPtr values are 
    different objects, but equal
    values....
    
    Couldn't you reset the value
    of (*objPtrPtr) to be
    tsdPtr->cwdPathPtr -- along
    with appropriate refCount
    housekeeping -- so that
    subsequent checks could
    use the fast pointer comparison
    and avoid the repeated
    string comparison?
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"