Overview
| Artifact ID: | 62f311f4a28b926560413582bf5e8c04fa46b6f1 |
|---|---|
| Ticket: | f97d4ee02082971e4b86a853c18c093fd0b2a45d
quadratic cost of namespace teardown |
| User & Date: | dgp on 2015-07-22 14:13:09 |
Changes
- icomment:
A related design issue (perhaps mentioned in another ticket somewhere?) is that HashTables are coded to only grow and never shrink. So even when a hash table holds only one entry, if the table was ever big, that one entry sits in an ocean of empty buckets, and on average half of them need scanning for T_FHE() to find it. Hmmmm.... It appears that T_FHE() called on an empty table is still required to scan all the buckets?! We don't have a size value?
- login: "dgp"
- mimetype: "text/plain"