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 18:32:00 +0200

John Wood wrote:
> Well you could sort the directory the first time you enter it (store the
> whole thing in RAM, sort it, retain the indices and then discard the folder
> names)

And then what? Read the each folder name as we display them? Spinning up the drive every time we scroll the display? Whichever way you go, it becomes an ugly kludge with boring side effects.

The fact is, we are constantly making compromises between battery life and player performance. That's why we have to introduce limits such as max 200 files per dir and max 10000 files per playlist.
We could very well support 5000 files per dir, but then we'd get less battery life. And since nobody else has ever objected to the 200 limit, we've found it appears to be a good compromise.

However, we are not pigheaded. If you come up with a clever algorithm we've overlooked, we will definitely take your patches into consideration.

Until then, may I suggest you simply organize your mp3 collection? :-)

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

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