[Pythonmac-SIG] Carbon events
Jack Jansen
jack@oratrix.nl
Tue, 14 Aug 2001 14:52:48 +0200
> Jack Jansen wrote:
>
> > [thinking out loud] So the reason MacPython uses so many cycles on OSX is
> > probably because the lowlevel I/O wait is a tight loop that calls WNE with a
> > small timeout and then checks a flag to see whether an async I/O completion
> > routine was called while in WNE. So the real problem is that we use small
> > timeouts to WNE, if we could use large timeouts there and have the I/O
> > completion routine somehow wake up WNE that would help a lot....
>
> [Btw. is this about the interpreter, the IDE, or both?]
The interpreter, the IDE is a lot better, because when idling waiting for the
user to do something it isn't sitting the the lowlevel I/O wait loop.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm