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 hybrid.go hybrid_default.go sort.go sort16.go sort24.go sort32.go sort8.go unsafe.go

Version
v0.2.0
Published
Jun 4, 2021
Platform
js/wasm
Imports
5 packages
Last checked
now

Tools for package owners.