[EMAIL PROTECTED] wrote on 21/08/2006 22:52:34: > Have a beer, Zach. :) > > This is looking a bit scary, and I'm a bit nervous about what you > might be exposing here. Can anyone give an authoritative comparison > on STL performance differences between Linux and Windows? I had > actually heard that it was better on Windows, a fact that was easy > to accept given comparison of STL vs simple arrays, but I've not > characterized this on Windows before. > > -don
I can't speak for STL under Linux, but if you have anything more than trivial STL stuff in a _debug_ Windows app, you get a significant performance hit. I'm talking at least an order of magnitude. A release build works as quickly as you'd expect; indeed, I'm sometimes surprised how efficient STL is with operations like searching and sorting. I presume the VC++ compiler puts in a shed-load of runtime checks for buffer overruns and suchlike, and probably tries to make debugging templated objects easier by making them as inefficient as possible :) John Donovan Sony Computer Entertainment Europe http://www.scee.com ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify [EMAIL PROTECTED] This footnote also confirms that this email message has been checked for all known viruses. ********************************************************************** Sony Computer Entertainment Europe _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
