dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Memory management

Re: Memory management

From: Björn Stenberg <>
Date: Mon, 23 Sep 2002 09:00:28 +0200 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.

Received on 2002-09-23

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