On Tuesday, 13 September 2005, at 01:45:46 (-0500), Ibukun Olumuyiwa wrote:
> Try to see things from a regular user's POV for once, it might help. :) It has nothing to do with whether I'm a "regular user" or an irregular one. It's personal choice. > This was originally what I wanted to do actually -- implement a > list-based quicksort (would require use of Ecore_Dlist). But it is > much more efficient as it is, doing an insertion sort while actually > inserting items into the list. Both approaches are too restrictive. What you need is to pass in a comparison function for your insertion sort. I used a similar technique for the sorting/arranging code in EFM. If you recall how many "sort by" and "arrange by" options EFM had, you'll see the flexibility inherent to that approach. 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) ----------------------------------------------------------------------- "When the toast is burned and all the milk has turned and Captain Crunch is waving farewell, when the Big One finds you, may this song remind you that they don't serve breakfast in Hell." -- Newsboys, "Breakfast" ------------------------------------------------------- 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel