Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (11 loc) · 701 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 701 Bytes

Fuzzysorting

Some kind of sorting algorithm I made in 2017. It works by finding the "slope" of an array, and then using slope-intercept form to determine the approximate location where a number belongs. It adds these approximations to contiguous lists of numbers with a similar approximate index. After each number’s position has been approximated, each list is bubble sorted and joined together to make one fully sorted list.

Comparison

Fuzzy sort

Fuzzy sort is faster than the other two

Bubble sort

Bubble sort is the slowest

Insertion sort

Insertion sort is the second slowest