Overview
| Artifact ID: | 1d928ff272392fac2f5cd17697ce4932b484872d |
|---|---|
| Ticket: | 322720f99dbe67f791e557876bd46e734544b988
Poor bytecode (optimizations?) for || and && |
| User & Date: | dgp on 2017-02-06 18:37:28 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
proc isTest-1 {arg} { if {[string match "0" $arg] || [string match "1" $arg] || [string match "2" $arg] || [string match "3" $arg] || [string match "4" $arg]} { return 1 } return 0 } proc isTest-2 {arg} { if {[string match "0" $arg]} { return 1 } if {[string match "1" $arg]} { return 1 } if {[string match "2" $arg]} { return 1 } if {[string match "3" $arg]} { return 1 } if {[string match "4" $arg]} { return 1 } return 0 } set script(1) {if {[isTest-1 "10"] == "-"} {} else {}} puts "1: Result: [isTest-1 "10"] | Time: [time $script(1) 10000]" set script(2) {if {[isTest-2 "10"] == "-"} {} else {}} puts "2: Result: [isTest-2 "10"] | Time: [time $script(2) 10000]" puts [tcl::unsupported::disassemble proc isTest-1] puts [tcl::unsupported::disassemble proc isTest-2] - foundin changed to: "8.6.6"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "Poor bytecode (optimizations?) for ||"
- type changed to: "Bug"