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: max 200 entries in a dir. why?

Re: max 200 entries in a dir. why?

From: Robert Tweed <robert_at_killingmoon.com>
Date: Tue, 13 Aug 2002 02:22:38 +0100

----- Original Message -----
From: "Guy Devos" <vosg_at_skynet.be>
>
> Why not buffer the first 200 entries of the directory into RAM, then (when
> the user scrolls beyond the 200th entry) access the drive
> and read the next 200 entries into the buffer? Didn't anyone think of
> this before, or is it impossible?

If you do it that way, AFAIK, it should be a very simple modification. The
problem is purely with directory sorting, as was pointed out earlier. Still,
I'd personally say it's better to list all the files in the wrong order than
to just list the first 200, since the order will still be wrong like that
anyway.

- Robert
Received on 2002-08-13

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