About the speed differences... In my personal experience, when it comes to botting, programs will be spending 95% of their execution time waiting for something (like a web server to respond or some button/image to appear on the screen).
Bots don't usually solve complicated mathematical formulas...