On Feb 5, 2013, at 5:42 AM, Jan Nijtmans wrote:
> 2013/1/29 Jan Nijtmans <jan....@gmail.com>:>> What I'm examining is some simple improvements which diminish>> the shimmering as reported by Brian without sacrificing binary>> compatibility (if possible) . This whole discussion is useful, because>> many people in this group have past experience why and how Tcl>> became how it is now. The best way to try things out is simply>> committing a proposal to a separate branch (which is cheap in>> fossil) and allow people to run their own benchmarks. If it>> doesn't give an improvement, throwing it away is easy as well.> > The "no-shimmer-string-length" is fully operational now, all test-cases> pass (even cmdIL-1.29!). Below is a simple example, which used to> shimmer between dict and string representation, with this change it> doesn't shimmer any more. The speed-up is from around 2 microseconds> per iteration to 0.5 microseconds per iteration.> > Brian, this should make significant difference in your benchmarks,> does it? All objTypes are fully compatible: the only change is that> internalRep.twoPtrValue.ptr2 is used now while it was not used> before. Therefore it would not be a problem even to put it in Tcl 8.5.
Thanks Jan! I'll take a look at this once I get past my current project.
-Brian
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core