Christian Couder <chriscool@xxxxxxxxxxxxx> writes: > This makes sha1_array easier to use, so later patches will be simpler. Hmmm... sort on lookup array. I wonder if it would be worth librarizing, and if there is any smart optimization for that (like e.g. heap for fast access to smallest value and fast insertion, using insertion sort for almost sorted array, etc.). BTW. does it become unsorted anywhere? -- Jakub Narebski Poland ShadeHawk on #git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html