<i>cannot efficiently modify a ByteArray</i> status still Open with 4 other changes
by
.
D 2009-02-05T16:34:34
J icomment I've\senhanced\sTcl_AppendObjToObj\sso\sthat\sit\sdoes\sbyte\sarray\sconcatenation\ssafely\sand\s(reasonably)\sefficiently.\sIt\sonly\sdoes\sthis\soptimization\swhen\sboth\sobjects\sare\sbytearrays\s*and*\sthe\sobject\sbeing\supdated\shas\sno\sstring\srep\s(not\sa\sbig\sproblem;\sbytearrays\sdon't\susually\shave\sone\sunless\speople\sdo\sthings\slike\sprinting\sthem\sout\sfor\sdebugging\spurposes)\s-\swithout\sthat\ssafety\sconstraint,\sthe\sstring-based\sformal\ssemantics\sof\sthe\sroutine\sis\scircumventable.\sThis\smakes\s[append]\sof\sbytearrays\sto\sa\svariable\scontaining\sa\sbytearray\smuch\sfaster\saccording\sto\smy\s(informal)\stiming.\n\nOther\sbasic\soperations\sstill\sneed\swork,\sso\sleaving\sthis\sissue\sopen.\n
J login dkf
J mimetype text/plain
J username dkf
K 1665628fffffffffffffffffffffffffffffffff
U dkf
Z b8141f0eb6797999f0dbee17c4e5527b