Artifacts Associated With Ticket 218971
Ticket change [c1df8798fd] (rid 111396) by nobody on 2000-10-26 01:08:48:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.2.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "10. Objects"
- title initialized to: "Bad compialtion of command without args"
- type initialized to: "Bug"
Ticket change [4dc192dd8e] (rid 127107) by welch on 2000-10-26 08:32:16:
- closedate changed to: "2000-10-26T01:32:16"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"