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: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 12 Aug 2002 17:21:24 +0200

John Wood wrote:
> Why do we have to load the entire folder at once? Can't we just load one
> page at a time?

The primary reason that idea has been thrown out is that it makes sorting impossible. FAT32 directories do not store filnames in any particular order, so "Song1.mp3" can be on the first page while "Song2.mp3" is on the last. And I just know you'd hate that. :-)

We have a fix pending that will changed the number limit to a size limit. That is, in dirs with short filenames we'll support a higher number of files than in dirs with long filenames.

The purpose of this fix, however, is to *decrease* the amount of memory used for the file list. So for dirs with many very long filenames, we may well end up supporting less than 200 files.

-- 
Björn
Received on 2002-08-12

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