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

Rockbox mail archive

Subject: RE: max 200 entries in a dir. why?

RE: max 200 entries in a dir. why?

From: Linus Nielsen Feltzing <>
Date: Mon, 12 Aug 2002 20:01:48 +0200

On Mon, 12 Aug 2002 13:51:33 -0400, John Wood wrote:
> > > Read the each folder name as we display them? Spinning up the
> drive every time we scroll the display? <<
> Well no, you'd build a page of 200 names and cache that. When you
> exhaust the first 200 names, then you build the second page. You'll
> get a spin whenever you cross page boundaries. But like I said,
> that's better than not displaying more than a page at all...

Still, you must read the whole directory and sort it before you can
cache 200 of the files in it. To do that, you need a temporary
storing space for those, let's say, 500 names. And then we would have
gained nothing, since we need to allocate space for that temporary

Received on 2002-08-12

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