Skip to content
Tcl Source Code Artifact [0e3133c441]
Login

Artifact [0e3133c441]

Artifact 0e3133c44137ef618443b7a6c157f1411ab8e75c:

Ticket change [0e3133c441] - Ticket [3408408fffffffff|3408408fff] <i>Erratic sharing/duplication of values in [expr]</i> status still Open with 5 other changes by dgp on 2011-09-16 02:06:53.
D 2011-09-16T02:06:53
J icomment \nUnfortunately\stackling\sthe\sspecific\scase\sin\sthe\nticket\sis\sat\sleast\sdifficult.\s\sIt's\slong\sbeen\sthe\s(unwise?)\ndesign\sof\s[expr]\sto\snot\sembrace\s"everything\sis\sa\sstring"\nbut\simpose\son\s[expr]\sthe\sburden\sof\sproducing\sonly\n'normalized'\sstring\sreps\sof\snumbers:\n\n%\sexpr\s7.5000\n7.5\n%\sexpr\s0x1\n1\n\nIt's\sprecisely\swhen\sa\sliteral\svalue\s\nis\sbubbling\sup\sfrom\sthe\sleaf\sof\san\nexpression\stree\sto\sbecome\sthe\sresult\nof\sthe\sexpression\sthat\swe\sdo\snot\sknow\nwhether\sor\snot\sit's\salready\sin\snormalized\nform.\s\sThe\sTRY_CVT_TO_NUMERIC\s\ninstruction\sis\spushed\sto\senforce\sthe\sguarantee\nand\sthe\sway\sit\soperates\sis\sto\sproduce\sa\snew\nunshared\svalue.\n\nAbsent\sa\srevolution\swhere\swe\sat\slong\slast\slet\n[expr]\sembrace\sthe\sEIAS\sphilosophy,\sI\sdon't\s\nsee\sany\squick\sand\ssimple\spath\sto\simprove\sthis.\nAnd\sfor\snow,\sI\sdon't\shave\sthe\scycles\sto\sspare\nfor\ssomething\smore\sambitious.\s\sSorry.\n
J login dgp
J mimetype text/plain
J resolution Postponed
J username dgp
K 3408408fffffffffffffffffffffffffffffffff
U dgp
Z a739879fab05a1d44693a7ea23168a2c