Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a1239f3c477b9e1d6c8a4d9b2e2c346abf5084aa
Ticket: b43f2b49f75ec8b60c7e5b59a21556528657e77a
Non-linear lappend performance
User & Date: dkf on 2014-07-13 11:23:18
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/html"
  4. comment changed to:
    This code (in a procedure):
    <pre>
    lappend someVar $a $b
    </pre>
    does not scale linearly (but rather quadratically) with the length of <tt>someVar</tt>. This is <i>very bad</i>. The problem is (probably) the use of a shared-list concatenation step internally (in order to get the trace semantics correct) instead of doing concatenation on an unshared <tt>Tcl_Obj</tt>.
    
  5. foundin changed to: "8.6.1"
  6. is_private changed to: "0"
  7. login: "dkf"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "dkf"
  13. subsystem changed to: "47. Bytecode Compiler"
  14. title changed to: "Non-linear lappend performance"
  15. type changed to: "Bug"