Rockbox mail archive
Subject: Re: max 200 entries in a dir. why?
From: Justin Heiner (jheiner_at_yahoo.com)
In the grand scheme of things, the games that are included take up very little
space of the 2MB buffer. Even a 200 file limit can be very high in size,
considering the maximum size of each path is 260 bytes. That's 52k, if each
file takes up the maximum path size. If the games were eliminated, I guess you
were reduce it by a few K. The ideal solution would be to get rid of the limit
altogether through some ingenious solution.
My question is how much a 400 file limit would affect the buffer? Seems like
taking 52k off of the buffer wouldn't up the battery consumption all that much,
and it would get rid of the quabbling over this, at least temporarily :)
--- Guy Devos <vosg_at_skynet.be> wrote:
> > I'd personally say it's better to list all the files in the wrong order
> > to just list the first 200, since the order will still be wrong like that
> > anyway.
> I can't program in C, so I was wondering how the original Archos firmware
> handles this. And if memory is so vital, why not get rid
> of the games and the screensavers instead?
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
Page was last modified "Jan 10 2012" The Rockbox Crew