Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hun3
9 months ago
|
parent
|
context
|
favorite
| on:
Performance of the Python 3.14 tail-call interpret...
-O3 does autovectorization: turning your loops into a bunch of SIMD instructions, sometimes even drastically changing performance profile.
If autovectorization is "not that much magic" then idk what else it is.
gpderetta
9 months ago
|
next
[–]
Any optimization you are familiar with is trivial and expected. Everything else is broken compilers optimizing UB to win benchmarks.
lifthrasiir
9 months ago
|
prev
[–]
Nowadays it's -O2. I was also surprised when I first learned this.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
If autovectorization is "not that much magic" then idk what else it is.