utility-function-extractor/packages/utility-tools
NunoSempere b80199e940 feat: Have mergeSort return a bottleneck comparison
if it can't go on due to not enough comparisons
2022-06-17 13:40:31 -04:00
..
input feat: Add utility tools 2022-06-15 23:04:46 -04:00
output feat: Add utility tools 2022-06-15 23:04:46 -04:00
src feat: Have mergeSort return a bottleneck comparison 2022-06-17 13:40:31 -04:00
package.json v0.1.0 2022-06-15 23:05:43 -04:00
README.md feat: Add utility tools 2022-06-15 23:04:46 -04:00
yarn.lock feat: Add utility tools 2022-06-15 23:04:46 -04:00

Utility function processor

This package contains a series of utilities to work with the utility functions produced by this utility function extractor

Merge sort

Given a list of elements and a list of utilitity comparisons, sort the list.

Gotcha: The list of elements has to be the same list, and in the same order, as that produced when initially doing the comparisons. This is because the merge-sort algorithm depends on the initial order of the list.