| Store | Cart

Re: [TCLCORE] Agressive shimmering

From: Brian Griffin <bria...@mentor.com>
Tue, 5 Feb 2013 08:09:19 -0800
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

Recent Messages in this Thread
Martin Lemburg Jan 18, 2013 12:22 pm
Donal K. Fellows Jan 18, 2013 03:13 pm
Larry McVoy Jan 18, 2013 04:13 pm
Brian Griffin Jan 18, 2013 04:13 pm
Jan Nijtmans Jan 23, 2013 11:24 am
Brian Griffin Jan 23, 2013 06:34 pm
Brian Griffin Jan 23, 2013 10:37 pm
Brian Griffin Jan 24, 2013 05:32 pm
Brian Griffin Jan 25, 2013 01:32 am
Jan Nijtmans Jan 25, 2013 08:00 am
Jan Nijtmans Jan 27, 2013 11:51 pm
Brian Griffin Jan 28, 2013 12:50 am
Jan Nijtmans Jan 28, 2013 08:15 am
Richard Suchenwirth Jan 28, 2013 09:53 pm
Donald G Porter Jan 28, 2013 06:39 pm
Alexandre Ferrieux Jan 28, 2013 08:47 pm
Andreas Kupries Jan 28, 2013 08:56 pm
Alexandre Ferrieux Jan 28, 2013 08:57 pm
Donald G Porter Jan 28, 2013 10:47 pm
Brian Griffin Jan 28, 2013 11:14 pm
Jan Nijtmans Jan 29, 2013 12:08 pm
Kevin Kenny Jan 29, 2013 01:46 pm
Jan Nijtmans Jan 29, 2013 03:32 pm
Donal K. Fellows Jan 30, 2013 10:33 am
Jan Nijtmans Feb 05, 2013 01:42 pm
Jeff Hobbs Jan 29, 2013 06:10 am
Donal K. Fellows Jan 29, 2013 09:49 am
Jeff Hobbs Jan 29, 2013 09:59 am
Porter, Don Jan 25, 2013 02:57 pm
Brian Griffin Jan 25, 2013 05:18 pm
Brian Griffin Jan 18, 2013 04:02 pm
Brian Griffin Feb 05, 2013 04:09 pm
Joe English Jan 28, 2013 09:00 pm
Messages in this thread