Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 11931fb6382abf452dc4a34fe6953f7f373f3eb7
Ticket: 1174551fffffffffffffffffffffffffffffffff
TclDecrRefCount performance
User & Date: msofer on 2005-04-01 01:27:07
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Ever since the fix of [Bug ???] the macro
    TclDecrRefCount became rather heavy - in both space and
    runtime. This patch reduces a lot of weight in the
    macro for the most frequent use cases - when 
       objPtr->typePtr->freeIntRepProc == NULL
    
    Note that these are mostly the objects that the core
    allocs and frees repeatedly - ints, wides, doubles,
    empties, type NULLs, ... 
    
    Please review: IIUC, this does not interfere with the
    safety mechanism implemented in the bugfix.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "10. Objects"
  10. title changed to: "TclDecrRefCount performance"
  11. type changed to: "Patch"