[squeak-dev] wait2ms

Stéphane Rollandin lecteur at zogotounga.net
Fri Feb 1 20:05:22 UTC 2013


Hello,

Studying Scratch code I stumbled upon the fact that EventSensor 
primitives such as #primMousePt send a #wait2ms message before answering.

In Squeak 2.8 #primMousePt was indeed a primitive; it still is in the 
InputSensor implementation.

So my question is: what is the rationale for loosing 2 milliseconds 
everytime one asks for mouse position ?


Stef



More information about the Squeak-dev mailing list