Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Improve average size of Namespace

Open2694630fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 10 years ago
Descriptionplain2009-03-19 15:05:20
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.
dkfplain2009-03-19 22:05:20
File Added - 318550: nsChildTable.patch
dkf Ticket [2694630fff]: 6 changes [History diff]2016-08-20 16:45:51
dkf Ticket [2694630fff]: 3 changes [History diff]2016-08-23 09:50:22
Log in (anonymous is fine) to add a comment.

Attachments: