Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 2628f433e3860fa105cf35cbfe0fb1aed3e65bf9
Ticket: f97d4ee02082971e4b86a853c18c093fd0b2a45d
quadratic cost of namespace teardown
User & Date: dkf 2015-08-02 16:52:36
Changes

  1. icomment:
    The real issue is that <tt>Tcl_FirstHashEntry</tt> is being used repeatedly, since that does a linear scan from the beginning of the list of buckets. At the very least, the cleanup code should avoid that. It's not the responsibility of the hash table code to make people use its API correctly.
    
  2. login: "dkf"
  3. mimetype: "text/html"
  4. username: "dkf"