On Tuesday, 13 September 2005, at 08:54:46 (-0500), Ibukun Olumuyiwa wrote:
> Actually yes, this is a better idea. The only snag here is that it > would be inefficient. For sorting based on attributes other than > filename, the comparison function would have to fetch metadata for > each file it attempts to compare to another ... too many disk > accesses per file would result in poor performance in large > directories,u nless the directory list function prefetched file > metadata into a struct that the comparison function could use. Turn directory entries into objects. Sort the objects. Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTED]> n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) ----------------------------------------------------------------------- "Here, let me get my thumb off her breast so you can fully appreciate her." -- Beth O'Hara ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
