Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Memory management
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2002-09-23


indigo99_at_netcourrier.com wrote:
> I was planning to load the entire file in a buffer to keep things simple.

Text files aren't necessarily small. I have several multi-megabyte files that I would like to view in Rockbox.

> I will probably try to load a part of the file and have a caching stratgey.
> What size would be reasonable for the buffer ? 1k ?

1k sounds good. That would mean a couple of pages cached before having to read new data.

> By the way do you think this app could be interesting for rockbox ?

Indeed it would.

-- 
Björn



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa