Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 118d4f3da77178f5a2da1b2177d58e5a5a5d0d18
Ticket: 1698093fffffffffffffffffffffffffffffffff
tighter mem handling in tebc
User & Date: msofer on 2007-04-11 03:11:12
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The enclosed patch causes that only the depth of the catch ranges be computed: this allows for tighter mem handling in tebc, which needs to alloc memory for each catch nesting level.
    
    OTOH:
    
    (1) the nesting level of loops is an interesting datum for stats and debugging, and it gets lost
    
    (2) the mem required for each catch nesting level is just sizeof(Tcl_Obj *) - nothing. So overestimating it as now is cheap. Also, bodies with very deep nesting of loop bodies should be very rare.
    
    This is a RFC.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "tighter mem handling in tebc"
  12. type changed to: "Patch"