[squeak-dev] EventSensor wait2ms (Re: [ANN] Croquet OpenGL on
Squeaksource)
Andreas Raab
andreas.raab at gmx.de
Tue Mar 23 16:10:58 UTC 2010
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.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|