FROM : Hamish Allan
DATE : Thu Jan 24 22:02:12 2008
On Jan 24, 2008 7:36 PM, Jacob Bandes-Storch <<email_removed>> wrote:
> I have to load images from disk each time the timer is called. I
> suppose I could try to load them all into memory before starting the
> timer... But that would hog resources... What other options do I have?
Pre-load n of them, where n = ceil(system sleep timer interval / your
timer interval). Do this each time you detect activity.
Hamish
DATE : Thu Jan 24 22:02:12 2008
On Jan 24, 2008 7:36 PM, Jacob Bandes-Storch <<email_removed>> wrote:
> I have to load images from disk each time the timer is called. I
> suppose I could try to load them all into memory before starting the
> timer... But that would hog resources... What other options do I have?
Pre-load n of them, where n = ceil(system sleep timer interval / your
timer interval). Do this each time you detect activity.
Hamish
| Related mails | Author | Date |
|---|---|---|
| Jacob Bandes-Storc… | Jan 23, 18:19 | |
| John Stiles | Jan 23, 18:20 | |
| Jacob Bandes-Storc… | Jan 24, 17:24 | |
| William Turner | Jan 24, 17:50 | |
| Jacob Bandes-Storc… | Jan 24, 17:53 | |
| Shawn Erickson | Jan 24, 19:17 | |
| Jacob Bandes-Storc… | Jan 24, 20:36 | |
| Hamish Allan | Jan 24, 22:02 | |
| Dave Camp | Jan 25, 00:55 | |
| John Pannell | Jan 25, 04:10 |






Cocoa mail archive

