Thomas Wouters wrote: > On 6/8/06, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > >> All this on AMD64, Linux2.6, gcc3.3. > > > FWIW, my AMD64, linux 2.6, gcc 4.0 machine reports 29.0-29.5 usec for 2.5, > 30.0-31.0 for 2.4 and 30.5-31.5 for 2.3, using the code you attached. In > other words, 2.5 is definately not slower here. At least, not if I use the > same compile options for 2.5 as for 2.4... ;-)
I checked, both Python versions were compiled using these options (and the same compiler): # Compiler options OPT= -DNDEBUG -g -O3 -Wall -Wstrict-prototypes BASECFLAGS= -fno-strict-aliasing Perhaps it's a new feature in gcc 4.0 that makes the slow-down I see turn into a speedup :-) -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jun 08 2006) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com