Morphic Main Loop

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Morphic Main Loop

Sean P. DeNigris
Administrator
I'm curious why you changed the order of doOneCycleNowFor: from:
1. checkForNewScreenSize
2. hands
3. step
4. display safely

1. checkForNewScreenSize
2. display safely
3. step
4. hands

Also, how has the reduced cpu usage in doOneCycleFor: turned out?
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Morphic Main Loop

Juan Vuletich-4
On 22/01/2014 09:55 a.m., Sean P. DeNigris wrote:

> I'm curious why you changed the order of doOneCycleNowFor: from:
> 1. checkForNewScreenSize
> 2. hands
> 3. step
> 4. display safely
>
> 1. checkForNewScreenSize
> 2. display safely
> 3. step
> 4. hands

No real reason that I remember.

> Also, how has the reduced cpu usage in doOneCycleFor: turned out?

Wonderfully. In well behaved VMs (i.e. Windows), CPU usage drops to 0%
when there are no events. This is great, for example, for running
hundreds of headless servers.

> -----
> Cheers,
> Sean

Cheers,
Juan Vuletich

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org