[Python-Dev] Building a Faster Python

martin at v.loewis.de martin at v.loewis.de
Mon Jul 22 14:24:01 CEST 2013


Quoting Steve Dower <Steve.Dower at microsoft.com>:

>> As a Windows user, it makes me wonder if compiling with the latest  
>> version of the Microsoft compiler
>> would improve things similarly?
>
> I'd expect to see some improvement, based solely on the bugs fixed  
> recently by the optimizer team. No idea how much, but I know that  
> Martin builds with PGO, and that's also been improved recently.

I would not expect to see any improvement, unfortunately. I used to
build with PGO, but the recent VS releases miscompiled code, which
was very hard to track down. So PGO has lost in my view for at least
3 VS releases :-(

>> (Though updating project files to that is almost certainly a bigger  
>> project than the gcc update.)
>
> No idea what the gcc update involved, but this is only accurate if  
> it took less than two minutes :-) I've upgraded the CPython projects  
> before and everything worked fine.

Still, we couldn't release 2.7 with any other compiler because of the CRT
dependency.

Regards,
Martin




More information about the Python-Dev mailing list