sort

package
v0.0.0-...-a9ba23a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertionSort

func InsertionSort(data []interface{}, compare func(a, b interface{}) bool) []interface{}

func MergeSort

func MergeSort(data []interface{}, compare func(a, b interface{}) bool) []interface{}

func QuickSort

func QuickSort(data []interface{}, compare func(a, b interface{}) bool) []interface{}

func QuickSortParallel

func QuickSortParallel(data []interface{}, compare func(a, b interface{}) bool, procs int) []interface{}

func QuickSortRandomize

func QuickSortRandomize(data []interface{}, compare func(a, b interface{}) bool) []interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL