Rockbox mail archiveSubject: 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
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örnReceived on 2002-08-12