Tcl Source Code

View Ticket
Login
Ticket UUID: 2694630
Title: Improve average size of Namespace
Type: Patch Created on: 2009-03-19 15:05:20
Submitter: dkf Assigned to: dkf
Subsystem: 21. [namespace] Severity: Minor
Priority: 6 Last modified: 2016-08-23 09:50:22
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: None
Description:
This patch improves the average amount of space allocated per namespace by allocating the hash table holding child namespaces only when required. Since in practice most namespaces have no children, this is an overall win (estimated to be net 13 machine words per namespace).

This is an issue for 8.6 due to TclOO being a very heavy user of namespaces.
User Comments:
dkf added on 2009-03-19 22:05:20:

File Added - 318550: nsChildTable.patch

Attachments: