Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Speed optimiztion

Status
Not open for further replies.

mogura

Programmer
Sep 6, 2003
22
GB
I want to optimize the speed and performance of my application. It performs several mathematical calculations, but does not compare floating point numbers to each other. I’m on the advanced optimizations dialog box and I think I shouldn’t select ‘Remove Floating Point Error Checks’ and I shouldn’t select ‘Allow Unrounded Floating Pont Operations’. Am I right?

Any help would be good.
 
Hi, the help on the advanced optimizations tab is helpful. If your app does not require this stuff then try it. However, I'd always favour safety over speed.
 
If you are really not doing ANY floating point operations then you can probably uncheck those options safely but I doubt that they will make any difference to your speed. Those compiler options just bypass code to eliminate error checking and rounding on floating point computations. If you are not doing any then there's probably nothing to bypass.
 
Thanks for your advice; I think I'll leave them checked.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top