Overview
| Artifact ID: | c1df8798fd6733320c4cd0640ec8884915aebe6b |
|---|---|
| Ticket: | 218971ffffffffffffffffffffffffffffffffff
Bad compialtion of command without args |
| User & Date: | nobody on 2000-10-26 01:08:48 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "obsolete: 8.2.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "10. Objects"
- title changed to: "Bad compialtion of command without args"
- type changed to: "Bug"