Rockbox mail archiveSubject: Re: Memory management
Re: Memory management
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 23 Sep 2002 09:00:28 +0200
> 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örnReceived on 2002-09-23