Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cadd7eebc0b7b8e93dd14abdd384db983141af94
Ticket: f97d4ee02082971e4b86a853c18c093fd0b2a45d
quadratic cost of namespace teardown
User & Date: msofer on 2015-03-22 20:02:10
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Reported by emiliano in the chat: the following script shows quadratic (?) behaviour in namespace deletion.
    
    foreach n {1 10 100 1000 10000 100000} {
        set i 0
        puts "--- $n ---"
        puts [time {namespace eval test::ns#$i {}; incr i} $n]
        puts [time {namespace delete test}]
    }
    
  5. foundin changed to: "8.6.4"
  6. is_private changed to: "0"
  7. login: "msofer"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "214bb5765a5d2d4513fe393de9e8c8431e3e869a"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "msofer"
  14. subsystem changed to: "21. [namespace]"
  15. title changed to: "quadratic bheaviour in namespace deletion"
  16. type changed to: "Bug"