My C++-project has >500 cpp-Files and takes >20min. to build. Configuration: Visual-C++ (VS2005) on a Pentium 4 with 3GHZ and 2GB RAM. I wonder, whether a new machine could significantly cut down my compile-times. Core2Duo is advertised to perform by dimensions better than all previous processors. Can anyone give an estimation, which gain I could expect from changing to a up-to-date machine (especially with respect to C++-compiling?) Thanks CHristof
Christof Schardt
Posts
-
How is Core2Duo speeding up compile-time? -
Speed up compilation by ramdisk?Of course I have an include-guard in all my headers. BTW: Is there a difference between
#pragma once ... // my code
and#ifnded XY_INCLUDED #define XY_INCLUDED ... // my code #endif
or is it just a MS-shorthand for this? Thanks anyway for your additional hints. Christof -
Speed up compilation by ramdisk?Hello, in good old Atari-days I used to love my ramdisk. On PC this doesn't seem to be a serious topic (I wonder why). Compilation-time is the dominant bottleneck for most C++-programmers. So, in times of GB-Ram: why not use a ramdisk to reduce the heavy amount of harddisk-access? Has anyone experience in setting up such an environment? (which ramdisk? how large? what moved to the ramdisk: the temp-dir? the PCH? the whole project-files? how to setup this in VC++ ? expected speed-gain?) Thanks Christof
-
callers graph?It's really gone. But I read somewhere on the MS-Site that it shall be back in VS2005. There are many people around, which are unhappy with 2003 vs VC6. See for examaple this thread. I still stick with VC6 despite the bad compiler, because the workflow is much better. If anybody has succeeded to integrate the C++-engine ov VS2003 intzo the VC6-IDE (compiler and libraries), I would appreciate any assistance. Christof
-
bind2nd with mem_fun_refI had the same and searched the error without success. Recently I got VC7.1, I tried it again and it compiled perfectly! So change your compiler or dont't use mem_fun_ref. Christof