So I'm doing some work in Matlab on gravitational acceleration. I made a simple script that calculates the gravitational acceleration due to the sun and earth at distances relative to the earth for 10 million km off the surface. It's a pretty intensive calculation, and it takes a good 5 minutes or so for my notebook to finish (hardware in sig/config).
My roommate also made a similar script (to calculate the same result), and his is more efficient than mine, as it uses less conversion calculations for the distances. So, we decided to have a race. My slower CPU (he has a 2.53GHz core 2 duo mobile) and less efficient code running on Windows 7 x64, versus his faster CPU and code on Windows Vista x86. (We use the same version of Matlab)
Spoiler :
My machine finished the code faster. In fact, we stopped his calculation, and his program wasn't even near 50% finished. I have to say, I'm pretty darn impressed.
Anyone else with nice multi-threading success stories?
for a class i had to find the solutions to an infinitely recursive maze, i made it multi threaded to improve speed, computed much faster on win7 than XP (same computer)