I finally got Kdevelop working and rewrote the program in the ide and turned on optimization via kdevlops menu. The C++ version now runs as fast as the java version (roughly, I didn't put the timer...
Type: Posts; User: darin722
I finally got Kdevelop working and rewrote the program in the ide and turned on optimization via kdevlops menu. The C++ version now runs as fast as the java version (roughly, I didn't put the timer...
I'm just starting to learn c++ and I was looking over some code in Qt4 and saw a statements that appeared to involve multiple dereference operators like **varname or ***varname. Is this really...
Cactus_Hugger. Now you've got me even more curious. It doesn't look like our computers are all that different in specs on the surface. Mine's an AMD 7750 with 512K cache and variable processor...
Anon,
By impossibly slow I mean that the n^3 loop was going to take 4.5 hours to complete. That's what set me off on doing time tests. It appears that Eclipse was the problem. When running the...
Hm, so basically, Java is optimizing the program into just a single for loop (the outter one)?
With the -O3 flag turned on, the C version appeared slightly faster than previously, but still...
Ok, this is driving me batty. I recently had an assignment to implement Floyds algorithm and Dijkstras on a graph with 5403 vertices. (in java) my program was running impossibly slow so I started...