zint32

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package zint32 implements radix sort for []int32. This package is deprecated.

Index

Constants

View Source
const (
	// MinSize is the minimum size of a slice that will be radix sorted by Sort.
	// This is deprecated and no longer used
	MinSize = 128
)

Variables

This section is empty.

Functions

func Sort

func Sort(x []int32)

Sort sorts x. This is deprecated, use zermelo.SortIntegers instead.

func SortBYOB

func SortBYOB(x, buffer []int32)

SortBYOB sorts a []int32 using a Radix sort, using supplied buffer space. Panics if len(x) does not equal len(buffer). Uses radix sort even on small slices. This is deprecated, use zermelo.SortIntegersBYOB instead.

func SortCopy

func SortCopy(x []int32) []int32

SortCopy is similar to Sort, but returns a sorted copy of x, leaving x unmodified. This is deprecated. Use slices.Clone and zermelo.SortIntegers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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