On Saturday 07 June 2008 11:10, Ralf Friedl wrote:
> > Well, this is true only if you want a bare list of files.
> > No coloring, no file type suffixes ("dir/"), no recursion (-R),
> > no file info (-l).
> >
> > In other words, this is an optimization which is "nice to have"
> > but in real world usage it won't happen to be used as often
> > as one might want.
> >
> I know, and I didn't want to imply that busybox should be changed. It
> was just a possible explanation why this might have been considered a
> busybox problem in the original message.
Yes, this is not a "problem", but would be a useful improvement indeed.
I was thinking how to avoid stat calls.
This becomes more interesting if there is any way to do "ls -R"
without stat calls too - it's much more common thing to do than bare "ls"
(and it usually lists much more files, so the win is bigger),
but nothing comes to mind.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox