[pypy-dev] Updated 'High Performance Python' tutorial (the one from EuroPython 2011)

Jérémie Roquet arkanosis at gmail.com
Tue Nov 15 17:11:53 CET 2011


Hi,

2011/11/15 Armin Rigo <arigo at tunes.org>:
> On Tue, Nov 15, 2011 at 15:54, Ian Ozsvald <ian at ianozsvald.com> wrote:
>> ShedSkin (from memory)
>> requests fast math and a few other things in the generated Makefile.
>
> Ah, it is cheating that way.  Indeed, I didn't try to play with gcc
> options; I just used -O2 (or -O3, which made no difference).

FYI, here is the default FLAGS file for shedskin:

CC=g++
CCFLAGS=-O2 -march=native -Wno-deprecated $(CPPFLAGS)
LFLAGS=-lgc -lpcre $(LDFLAGS)

But of course you can change the compiler and play with its flags to
improve performance.

Best regards,

-- 
Jérémie


More information about the pypy-dev mailing list