From: Kevin K. <kk...@ny...> - 2013-01-29 15:09:47
|
On 01/29/2013 07:08 AM, Jan Nijtmans wrote: > Realizing that twoValuePtr.ptr2 is not used for the ByteArray, > Dict and List objTypes, this field can be used to cache the > stringRep. Done that in a brand-new "no-shimmer-string-length" > branch, based on core-8-5-branch (so it's easier to compare with > Brian's earlier benchmarks). See: <http://core.tcl.tk/tcl/info/621e03a369> > (and the commit before that!) Beware: [lset] uses the second pointer to maintain a linked list of the objects whose internal rep needs to be duplicated. It saves allocating an explicit stack. -- 73 de ke9tv/2, Kevin |