Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c1df8798fd6733320c4cd0640ec8884915aebe6b
Ticket: 218971ffffffffffffffffffffffffffffffffff
Bad compialtion of command without args
User & Date: nobody on 2000-10-26 01:08:48
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3369 Bug
    Version: 8.2.1
    SubmitDate: '1999-11-05'
    LastModified: '2000-02-25'
    Severity: LOW
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: All
    FixedDate: '2000-02-25'
    FixedInVersion: 8.3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Marco Conti
    
    ReproducibleScript:
    # do-nothing procedure without args
        % proc noarg {} {
        }
        
        # do-nothing procedure with args
        % proc  arg {a} {
        }
        
        % time noarg 10000
        126 microseconds per iteration
        % time {arg a} 10000
        20 microseconds per iteration
    
    ObservedBehavior:
    The problem is identical also with a C function when is called with or
        without arguments.
        Debugging source code it seems to me that a procedure without args is
        compilated each time
        is executed (the code is not retained), increasing the executiion time
        as showed by `time' command.
        The problem is also present in 8.1.1. releas but not in 8.0.4 .
        I check this on AIX 4.3, IRIX 5.3 , Linux Slackware and Linux RedHat 6.0
    
    DesiredBehavior:
    The code is compilated once also for command without args.
    
    
    
    This was solved with related fixes in 8.3.0. 
    -- 02/25/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.2.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "10. Objects"
  10. title changed to: "Bad compialtion of command without args"
  11. type changed to: "Bug"