sort

package
v0.0.0-...-2d3c0c3 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeSortConcurrent

func MergeSortConcurrent(s []int) []int

func MergeSortFunc

func MergeSortFunc(s []int) []int

Types

type MergeSort

type MergeSort struct {
	// contains filtered or unexported fields
}

func NewMergeSort

func NewMergeSort(s []int) *MergeSort

func (*MergeSort) SetConcurrentDepth

func (m *MergeSort) SetConcurrentDepth(n int)

func (*MergeSort) SetSizeToUseConcurrent

func (m *MergeSort) SetSizeToUseConcurrent(s int)

func (*MergeSort) Sort

func (m *MergeSort) Sort() []int

Jump to

Keyboard shortcuts

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