optimizing code

D

Dylan

Can anyone point me toward some decent sources that discuss code
optimization for C++ code running on the WinXP platform? I'm
interested in any discussion, books, URLs... *anything* related to
making code go faster.

I have the Meyers, Sutter, Josuttis, Stroustrup books so i know the
obvious stuff (inlining, removing temporary variables etc).

Any STL tips (other than those discussed in Meyer's book) would be
especially welcome.

Thanks for any help.
 
V

Victor Bazarov

Dylan said:
Can anyone point me toward some decent sources that discuss code
optimization for C++ code running on the WinXP platform? [...]

comp.os.ms-windows.programmer.win32

Have you seen/read "Efficient C++"? It's highly recommended.

V
 
C

Chris Theis

Dylan said:
Can anyone point me toward some decent sources that discuss code
optimization for C++ code running on the WinXP platform? I'm
interested in any discussion, books, URLs... *anything* related to
making code go faster.

I have the Meyers, Sutter, Josuttis, Stroustrup books so i know the
obvious stuff (inlining, removing temporary variables etc).

Any STL tips (other than those discussed in Meyer's book) would be
especially welcome.

Thanks for any help.

I guess you´ll find more than enough hits with google. However, I´d
recommend to take a look at Todd´s excellent write-up of optimization
techniques using mainly templates. ("Techniques for Scientific C++" by Todd
Veldhuizen - http://osl.iu.edu/~tveldhui/papers/techniques/techniques.html).

HTH
Chris
 
D

Dylan

Dylan said:
Can anyone point me toward some decent sources that discuss code
optimization for C++ code running on the WinXP platform? [...]

comp.os.ms-windows.programmer.win32

Have you seen/read "Efficient C++"? It's highly recommended.

V

Hi Victor,

I looked at the reviews for this book this morning but they were not
good so I dismissed it. See
http://www.amazon.co.uk/exec/obidos/ASIN/0201379503/ref=pd_ecc_rvi_1/202-9900709-4079821

Have you read it?

cheers
 
V

Victor Bazarov

Dylan said:
Dylan said:
Can anyone point me toward some decent sources that discuss code
optimization for C++ code running on the WinXP platform? [...]

comp.os.ms-windows.programmer.win32

Have you seen/read "Efficient C++"? It's highly recommended.

V


Hi Victor,

I looked at the reviews for this book this morning but they were not
good so I dismissed it. See
http://www.amazon.co.uk/exec/obidos/ASIN/0201379503/ref=pd_ecc_rvi_1/202-9900709-4079821

I don't trust those.

I trust http://www.accu.org/bookreviews/public/index.htm
Have you read it?

Not thoroughly, just leafed through it in a store. I wish I had time,
though.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
FloridaHan

Latest Threads

Top