It is currently Mon Jan 22, 2018 9:54 am Advanced search

C++ compilation

Code won't compile? Found a bug? Post here!

C++ compilation

Postby kduleba » Fri Feb 05, 2010 12:36 am

Hi

It seems that you're compiling C++ code without optimization. This causes the programs to take a *huge* performance hit. Please consider adding -O2 to the command line.

BTW - what compiler version are you using?
kduleba
Captain
 
Posts: 27
Joined: Fri Feb 05, 2010 12:35 am

Re: C++ compilation

Postby amstan » Fri Feb 05, 2010 12:52 am

We have acknowledged this, we'll look into it. Thanks for suggestion.
We're running gcc version 4.3.

Update: -O2 has been added
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron