So i made a script that includes a reactionary type of thing, using functions like pixelchecksum or pixelgetcolor inside loops with sleep(50) or so to free up some processing power. The script works flawlessly as designed on MY computer, however I've tested the exact same script on TWO other computers and have the same problem on both. The script is not reacting as precisely on the other computers to changes in pixels with pixelchecksum or finding colors with pixelgetcolor. Even though i use sleep(50) inside my loops it's taking like a full second. So when a color appears on my computer it will take 50 milliseconds to notice it, but on the other computers it takes like an entire second, as if i was using a larger sleep() than i have in there, which is 50. I'm clueless at this point. Anyone had this problem before with scripts working on the computer that they built the script on, but not on others? It is for sure NOT anything to do with resolution sizes, and both of the other computers are actually faster than mine, so it's not a processor issue. As far as i can tell everything is the same and should work the same. Any help is appreciated, thanks.
EDIT:
It's 100% for sure a 64bit vs 32bit problem. Works fine on vista 32-bit machines, does not work on windows 7 or vista 64-bit machines.