Skip to content
Tcl Source Code Artifact [ca4addf7d4]
Login

Artifact [ca4addf7d4]

Artifact ca4addf7d4be48465cc9779b9419bf22f18ce342:

Ticket change [ca4addf7d4] - Ticket [fa5c8a823085c0cd|fa5c8a8230] <i>memory cost and execution time exploding of nested namespaces</i> status still Open with 3 other changes by sebres on 2017-05-18 08:12:41.
D 2017-05-18T08:12:41.877
J icomment The\smemory\sconsumption\sgoing\sto\slarge\sfull-qualified\snamespace\sname.\r\nFollowing\sexample\sexplain\sit\s(has\scomparable\smemory\sconsumption\sas\s"namespace\seval"):\r\n<code><pre>\r\nset\sname\s{};\r\nset\si\s0;\stime\s{set\sns($i)\s[set\sname\s${name}::namespace[incr\si]]}\s10000\r\n</pre></code>\r\n\r\n>\spooryorick:\r\n<blockquote>It\sseems\sthat\sthe\sfully-qualified\sname\sof\seach\screated\snamespace\sis\sgetting\sstored\ssomewhere.</blockquote>\r\n\r\nYes,\ssee\sstruct\sNamespace\sdeclaration\s"fullName"\sin\stclInt.h.\r\nIt\sis\scurrently\simpossible\swithout\sthis\smember,\sbecause\sused\severywhere\sand\sthe\sauto-retrieving\son\sdemand\swould\sbe\sadmittedly\spossible,\sbut\swill\sused\salmost\simmediately.\r\n\r\nI'll\stake\sa\slook\slater\swhat\swould\sbe\spossible\sto\soptimize\sit.
J login sebres
J mimetype text/x-fossil-wiki
K fa5c8a823085c0cd88bdd2d10a5c24f5ebb4bf07
U sebres
Z faad64899a901230041715dd5b8ca1bd