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



Rockbox mail archive

Subject: Re: Memory management

Re: Memory management

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 23 Sep 2002 09:00:28 +0200

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
Received on 2002-09-23

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy