Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WanderPanda
on July 29, 2023
|
parent
|
context
|
favorite
| on:
Using C++ as a scripting language, part 8
Maybe it is because of Debug vs. Release mode (and the optimization level coming with it) but I see a speed difference on the order of 10-100x vs. Release mode GCC
gpderetta
on July 29, 2023
[–]
For heavily template code, a 10x-100x speed difference between -O0 and -O3 is not surprising in my experience.
The cost of compiling at -O3 is going to affect interactive use of course though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: