Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8d2d29674a86a0ed6c44361d67c83aaf83110d20
Ticket: 0ec75b9a080ccc656d790703216fa64c6bdf7eed
Debug display on shimmering
User & Date: ferrieux on 2016-08-13 09:35:21
Changes

  1. icomment:
    Also, be warned of two points:
    
    (1) Even in its mild, "display-only" form, the feature would have a non-negligible perf impact.
    
    Indeed, binary compatibility with extensions precludes adding any field directly to values or internal reps, so the "you're being watched" flag must be implemented as a pointer hash, with associated check on each Dup or Free. This means that only a few values could be watched at any given time, and also that the feature would likely be non-mainstream (macro-controlled).
    
    (2) Displaying any meaningful context for the Dup or Free operation would be extremely hard. The setFromAnyProc of each obj type tends to call TclFreeIntRep on the old type without any kind of politeness like "I'm shimmering to Y".
    
    Hmm. That's a hell of a set of restrictions, right ?
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"