Skip to content
Tcl Source Code Artifact [63694313f7]
Login

Artifact [63694313f7]

Artifact 63694313f7d4934c95f3c0d85889c8bebb723ec3666137600509d7c8d0f383ee:

Ticket change [63694313f7] - Ticket [db4f2843cdb28c27|db4f2843cd] <i>Sporadic segfault (BO) using tclIO</i> status still Open with 3 other changes by sebres on 2024-01-23 00:35:43.
D 2024-01-23T00:35:43.477
J icomment No,\sit\swouldn't\shelp.\sMoreover\sit'd\scompletely\sregress\s(would\sprobably\shave\sstill\sworse\sperformance\sthan\smy\sinitial\sfix)\sbecause\swould\s"remove"\spreviously\senlarged\sbuffer\son\severy\siteration.\s\r\n\r\nEven\sif\sthe\sobject\sis\sutf-8\sappend\smakes\sa\sstring,\sthat\sdoesn't\shave\sunicode,\sbut\scontains\sinfo\sin\sstringPtr\sabout\sthe\sbytes\sbuffer.\sThe\sremoval\sof\sinternal\srepresentation\swould\ssimply\scause\sthat\sinfo\slike\sstringPtr->allocated\sget\slost.\r\n\r\nBasically,\sthe\ssimplest\sfix\scould\sbe\sto\sdeclare\sAppendUtfToUtfRep\sas\sinternal\sTclAppendUtfToUtfRep\sand\scall\sit\sinstead\sof\sTcl_AppendToObj.
J login sebres
J mimetype text/x-fossil-wiki
K db4f2843cdb28c27fddf511567bc9287484852ae
U sebres
Z 355d3b3e4897685624c5e4fcc16e74b4