Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jhgb
on Oct 17, 2021
|
parent
|
context
|
favorite
| on:
Bubble sort slower with -O3 than -O2 with GCC
Surely a profile-guided build should be able to only apply -Os to those functions where it doesn't cause a lot of problems.
pclmulqdq
on Oct 17, 2021
[–]
In the application I referred to, PGO was also used. However, that only applies -Os to cold code, and if what you're doing is very branchy, it can help even in the hot path.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: