Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: How I made our whole Python infrastructure 20% faster with 1 change
4 points by rodmena on May 22, 2019 | hide | past | favorite
So they wanted to speed up numpy and machine learning algs and I have no idea how I was going to do it.

To cut a long story short, I compiled python 3 for servers with a customized makefile:

``` ./configure --enable-optimizations --with-lto ```

and then, I replaced `-O3` in make file with `-Ofast`.

That was it. And of course, I wonder why these are not defaults.

--




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: