package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Sep 27, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
TemporalSort
The sorting algorithm of the future. Runs in O(n) time (best, average, and worst case) using principles from physics and the linearity of time.
This module defines one function Sort([]int). It returns a sorted version of the list. Note that negative numbers are currently not supported.
Documentation
¶
Sort takes in an `[]int`, and returns the sorted version of it using the TemporalSort algorithm.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.