Rockbox mail archiveSubject: Re: things to optimize (was Re: Testers wanted: up to 50% greater battery life)
From: TP Diffenbach (rockbox_at_diffenbach.org)
Quoting Daniel Stenberg <daniel_at_haxx.se>:
> On Wed, 30 Jul 2003, TP Diffenbach wrote:
I'd be interested in profiling something that updated only certain lines; of course, it would have to translate a logical line of text into calls to (probably) lcd_update_rect. That would allow us to only update lines that actually scroll/change.
> > The settings code may or may not take longer; the salient point is the
> Remember that we only write to the RTC that often. We write to disk when
I understand delayed_ata_write. My point is that save_settings copies each setting in struct user_settings to config_block, usually with extensive bit masking to compact the data. wps only ever changes volume and resume data, and the volume changing code and the resume changing code each call save_settings seperately.
-- Archos FM has a Rockbox!
Page was last modified "Jan 10 2012" The Rockbox Crew