Re: optimizing c++ code (on win32 platform)

Jussi Jumppanen <jussij@zeusedit.com>
23 Sep 2003 13:32:11 -0400

          From comp.compilers

Related articles
optimizing c++ code (on win32 platform), all the techniques you know? tzuchien_chiu@xgitech.com (Tzu-Chien Chiu) (2003-09-22)
Re: optimizing c++ code (on win32 platform) scottmcp@mvps.org (Scott McPhillips \[MVP\]) (2003-09-23)
Re: optimizing c++ code (on win32 platform) jussij@zeusedit.com (Jussi Jumppanen) (2003-09-23)
Re: optimizing c++ code (on win32 platform) llewelly@xmission.com (2003-09-27)
Re: optimizing c++ code (on win32 platform) o.wesnigk@t-online.de (Oliver Wesnigk) (2003-09-27)
Re: optimizing c++ code (on win32 platform) vbdis@aol.com (2003-09-27)
Re: optimizing c++ code (on win32 platform) Brian.Inglis@SystematicSw.ab.ca (Brian Inglis) (2003-10-13)
| List of all articles for this month |
From: Jussi Jumppanen <jussij@zeusedit.com>
Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.win32,comp.compilers
Date: 23 Sep 2003 13:32:11 -0400
Organization: Xidicone P/L
References: 03-09-070
Keywords: optimize
Posted-Date: 23 Sep 2003 13:32:11 EDT

Tzu-Chien Chiu wrote:


> "What methods do you ever use to optimize the programs?"
>
> We're developing a graphics chip emulator in C++, but it's very slow
> for big scenes. Even though this is a cross-platform software, I only
> want to optimize it on the Win32 (Windows 2000/XP) platform.


If you application seems very slow on todays super fast GHz PC's, that
to me that suggests the application it is doing an awful lot of CPU
intensive stuff.


Have you profiled your application to check that the appliction is not
wasting time on a badly code algorithm or flow structure? Does you
machine have lots of spare RAM? RAM always helps speed up memory
hunger applications.


If you do have an optimal algorithm then your applicaiton is just CPU
intensive and I would be suprised if the any amount of optimazation
would greatly improve the speed.


Jussi Jumppanen
Author of: Zeus for Windows, Win32 (Brief, Emacs, etc) FTP Text Editor
"The C/C++, Java, HTML, FTP, Python, PHP, Perl programmer's editor"
Home Page: http://www.zeusedit.com


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.