[squeak-dev] EventSensor wait2ms (Re: [ANN] Croquet OpenGL on Squeaksource)

Igor Stasenko siguctua at gmail.com
Tue Mar 23 16:16:36 UTC 2010


On 23 March 2010 18:10, Andreas Raab <andreas.raab at gmx.de> wrote:
> On 3/23/2010 4:46 AM, Bert Freudenberg wrote:
>>
>> Neat :) Works like a charm on my old MacBook Pro, about 400 fps.
>
> Yeah, I was wondering why it's so much slower in trunk than in our internal
> images or Croquet. First I thought it's the JIT but then I looked at a
> profile and found EventSensor>>wait2ms called from several places in
> EventSensor and indirectly via Sensor anyButtonPressed .
>
> WTF? This isn't in any of the images I've ever used, does someone know why
> we're doing this? Randomly waiting for 2ms and *no comment* as to what the
> purpose of that wait might be? I'm in favor of ripping this out; there
> should be absolutely no need to wait for 2ms in EventSensor.
>

All senders of wait2ms seems having same author , and very small time frame:
JMM 11/7/2005 14:39

So, i suppose we could ask the author to comment this.

> Cheers,
>  - Andreas
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list