Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 06e96baa5b64ae7cf47e682471b1ff75f39fde34
Ticket: f97d4ee02082971e4b86a853c18c093fd0b2a45d
quadratic cost of namespace teardown
User & Date: sebres on 2015-03-23 08:41:45
Changes

  1. icomment:
    I'm not sure the suggested "bugfix" with Tcl_NextHashEntry would be good. It's not safe (segfaults) when within cycle with Tcl_NextHashEntry the hash will be modified (Tcl_DeleteHashEntry).
    In addition I'm not sure all the entries will be affected (because of rebuild of hash within).
    The "proper" fix can be something like mark the hash as "will_be_deleted", to prevent rebuild bucket chains during deletion.
    
  2. login: "sebres"
  3. mimetype: "text/plain"