Hi!
I recently switched to Orwell's DevC++ from Bloodshed's version.
The thing is that I made the project again (only 1 .cpp file) and the app seems to run much, much slower than when it was compiled with Bloodshed's version.
Code is very simple (it has no actual use, kinda like a stress test):
for(int i = 0; i<1000000; i++) {
string value = "";
value = md5(RandomString());
}
With Bloodshed's version this code executes in 8 seconds.
But with Orwell's version this code executes in 35 seconds.
I'm using TDM-GCC 4.8.1 64-bit compiler.
At first I noticed that the .exe file is a lot bigger (~500KB compared to 1.8MB), but using some tips on this forum I managed to reduce the size to ~600KB.
What could be the problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I recently switched to Orwell's DevC++ from Bloodshed's version.
The thing is that I made the project again (only 1 .cpp file) and the app seems to run much, much slower than when it was compiled with Bloodshed's version.
Code is very simple (it has no actual use, kinda like a stress test):
for(int i = 0; i<1000000; i++) {
string value = "";
value = md5(RandomString());
}
With Bloodshed's version this code executes in 8 seconds.
But with Orwell's version this code executes in 35 seconds.
I'm using TDM-GCC 4.8.1 64-bit compiler.
At first I noticed that the .exe file is a lot bigger (~500KB compared to 1.8MB), but using some tips on this forum I managed to reduce the size to ~600KB.
What could be the problem?