Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fed77b768847087deb727ff4be7a6f234fb539cf
Ticket: 458361ffffffffffffffffffffffffffffffffff
single word scripts get recompiled at each call
User & Date: msofer on 2004-07-08 05:17:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Fixed in HEAD by unsharing the cmdName literal for
    single-word scripts.Not backported to core-8-4-branch due to
    [Bug 983660] (leaking unshared literals); fix of 983660 not
    backported until performance implications are clear.
    
    Leaving open until backporting is done or decided against.
    
    Note that the fix is not perfect, shimmering will still
    occur in cases where the single-word script is called as a
    command somewhere else (as opposed to: in its own body). The
    correct solution may be to have a more discriminating policy
    for literals - one table for cmdNames, one for varNames, one
    for nsNames, one for 'everything else' (scripts, strings, ...)?
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. resolution changed to: "Fixed"
  5. username: "msofer"