Ticket UUID: | 2694630 | |||
Title: | Improve average size of Namespace | |||
Type: | Patch | Version: | None | |
Submitter: | dkf | Created on: | 2009-03-19 15:05:20 | |
Subsystem: | 21. [namespace] | Assigned To: | dkf | |
Priority: | 6 | Severity: | Minor | |
Status: | Open | Last Modified: | 2016-08-23 09:50:22 | |
Resolution: | None | Closed By: | nobody | |
Closed on: | ||||
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:
- nsChildTable.patch [download] added by dkf on 2009-03-19 22:05:20. [details]