On 22 Jul, 2013, at 9:32, Maciej Fijalkowski <fij...@gmail.com> wrote:
> On Mon, Jul 22, 2013 at 9:32 AM, Maciej Fijalkowski <fij...@gmail.com> wrote: >> On Mon, Jul 22, 2013 at 8:15 AM, Antoine Pitrou <solip...@pitrou.net> wrote: >>> On Sun, 21 Jul 2013 16:36:35 -0700 >>> Raymond Hettinger <raymond.hettin...@gmail.com> wrote: >>>> Our current Mac OS X builds use GCC-4.2. >>>> >>>> On Python2.7, I ran a comparison of gcc-4.2.1 builds >>>> versus gcc-4.8.1 and found that the latter makes a much >>>> faster Python. PyBench2.0 shows the total running time >>>> dropping from 5653ms to 4571ms. The code is uniformly >>>> better in just about every category. >>> >>> You could try running the benchmarks suite to see what that gives: >>> http://hg.python.org/benchmarks/ >>> >>> Regards >>> >>> Antoine. >> >> or pypy benchmark suite which is more comprehensive for python 2.7 >> (http://bitbucket.org/pypy/benchmarks) > > Besides, is there any reason not to use clang by default on OS X? The 32-bit installer contains binaries that work on PPC, that's why those are built using an older version of Xcode. I'd have to check if that version of Xcode supports clang, and if that version of clang is good enough. The "intel" installer can, and should, be build with clang (and preferably with the most recent Xcode release to ensure that the latest supported compiler is used). Note that the CPython configure script, and distutils, already use clang by default if you a recent Xcode but that's primarily because gcc is llvm-gcc when you use Xcode and llvm-gcc is broken (it miscompiles at least the unicode implementation in Python 3.3), this overrides the default behavior of configure (using gcc whenever it is available unless the user explictly overrides). Ronald _______________________________________________ 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