|
From: Abhijit S. <mu...@gm...> - 2002-08-16 09:03:30
|
Greets. > Running the program below in Dev-C++, Version 4, took between 209 and 235 > seconds on my system. I don't know why the running times vary, but even > taking the fastest time of 209 seconds, it compares unfavorably with a > similar program compiled (36 seconds) or interpreted (55 seconds) in > QBasic 4 . > > Does Dev-C++ really produce such leisurely code? Or can the program be > speeded up? I think the problem is with your settings. On mine, MingW32(Dev) takes 130 seconds, and BC++ 5.5 takes 138 seconds. Check that debugging mode is not enabled in 'Compiler Options' > 'Linker' and 'Best Optimization' is selected under the 'Code Generation/Optimizations' page. To perform manual optimzations in multi-function programs, use the profiler to see where most of the activity is taking place, and speed up those parts. Oh, wait... I just tried that and it gave me an "access violation at address 0052b937, read of address 0x00..08". But I added it to a project and then tried, and it went fine. Dev has many problems handling files without a project. Can someone look into this, please? |