package qsort

import "github.com/segmentio/asm/qsort"

Index

Functions

func Sort

func Sort(data []byte, size int, swap func(int, int))

Sort sorts contiguous big-endian chunks of bytes of a fixed size. Sorting specializations are available for sizes of 8, 16, 24 and 32 bytes.

Source Files

generic.go sort.go sort16.go sort24.go sort32.go sort8.go sort_default.go unsafe.go

Version
v1.1.2
Published
Dec 6, 2021
Platform
js/wasm
Imports
7 packages
Last checked
now

Tools for package owners.