2
0

Коммит түүх

Эзэн SHA1 Мессеж Огноо
  nickysn 1c64f4c751 * some formatting changes to avoid very large lines in the source code 6 жил өмнө
  nickysn 00a67caa40 * select the middle element in the default quicksort implementation in a way 6 жил өмнө
  nickysn f4718831ca * fixed quicksort comment about memory use - our implementation uses O(log n) stack, not O(n log n) 6 жил өмнө
  nickysn f32748a8e7 + added comment with information about QuickSort and its specific implementation in unit SortBase 6 жил өмнө
  nickysn eca60a0a89 * partition elements equal to the pivot on both sides of the pivot, since that 6 жил өмнө
  nickysn bea9961d2d * use SizeUInt instead of longint for the array indices in the quicksort 6 жил өмнө
  nickysn f5f25f7ae6 * use a more robust QuickSort implementation, that is guaranteed to never loop 6 жил өмнө
  nickysn de80621e1e * use a try..finally block to protect against memory leaks if the comparison 6 жил өмнө
  nickysn 26486bbaea + keep track of the pivot index in all quicksort implementations. No functional changes, 6 жил өмнө
  nickysn ea340b9481 * fixed bug in QuickSort_ItemList_CustomItemExchanger_Context and 6 жил өмнө
  nickysn c7d8bd9666 + added a sort algorithm interface that accepts a custom callback function for 6 жил өмнө
  nickysn 59a75ea429 * use Inc() and Dec() instead of v:=v+1 6 жил өмнө
  nickysn 4082b8c7fc + added and implemented QuickSort_ItemList_Context 6 жил өмнө
  nickysn 7f44f2535e * the Compare parameter renamed Comparer for consistency 6 жил өмнө
  nickysn 8cf5779297 * the first parameter of QuickSort_PtrList_NoContext renamed ItemPtrs for 6 жил өмнө
  nickysn a2a0ed53b2 * the type of the ItemCount parameter changed from PtrUInt to SizeUInt 6 жил өмнө
  nickysn 848890e54b + added the TItemListSorter_NoContext and TItemListSorter_Context procedure 6 жил өмнө
  nickysn 25f6da7066 * added PtrList to the names of the current sort algorithm callback functions and 6 жил өмнө
  nickysn 248fd313f8 + introduced unit SortBase, which implements the foundation for pluggable 6 жил өмнө