Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a746b66508f48951a98bdb113aec6e2a56c6f66d
Ticket: 1af8de570511f68630bd54c24579ceef69c63546
TEBC mishandled in [string replace] optimization ?
User & Date: dkf on 2016-03-20 20:41:54
Changes

  1. closedate changed to: "2457468.36243265"
  2. closer changed to: "dkf"
  3. icomment:
    Fixed. Ended up adapting the code into this (the body of the test I'm using) because that avoids procedures and unnecessary <code>puts</code> calls.
    <pre>
        apply {{x y} {
    	# Generate an unshared string value
    	set val ""
    	for { set i 0 } { $i < $x } { incr i } {
    	    set val [format "0%s" $val]
    	}
    	string replace $val[unset val] 1 1 $y
        }} 4 x
    </pre>
    
  4. login: "dkf"
  5. mimetype: "text/html"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "dkf"