Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2016-08-23
09:50 • Ticket [2694630fff] Improve average size of Namespace status still Open with... artifact: 4b37081f71 user: dkf
2016-08-20
16:45 • Ticket [2694630fff]: 6 changes artifact: 160433b5e2 user: dkf
2009-03-19
22:05 • Ticket [2694630fff]: 4 changes artifact: a134c05afb user: dkf
22:05 • Add attachment nsChildTable.patch to ticket [2694630fffffffff|2694630ff... artifact: 0aed9ef460 user: dkf
15:05 • New ticket [2694630fff] Improve average size of Namespace. artifact: 84d690047f user: dkf

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: