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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Speed of application

Status
Not open for further replies.

andyroo

Programmer
Oct 23, 2001
19
US
I am fairly new to Borland C++ Builder and need some help with trying to improve the speed of an application I have "inherited" !!

It is an application that receives messages from another app and for each message received a new thread is spawned. These threads then access a database to perform selects and inserts and returns a message to the calling app.

I was wondering if there were any package settings to optimise the code or if anyone had any general helpful hints for speeding up the code.

Thanks for any help

Andy.
 
I wrote this JS faq on optimisation (I know it's far from being C++ but bare with me)

faq216-1758

There is an unrolling technique in there as well as common sense you can read to get primed.

There is also this link on C optimisation that can be applied to C++ I found with the keyword unrolling in google.


Do search "duff's device" in google as well.

I hope this helps. Gary Haran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top