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_amd64.go sort_asm.go unsafe.go

Version
v1.2.0 (latest)
Published
Apr 27, 2022
Platform
linux/amd64
Imports
7 packages
Last checked
10 hours ago

Tools for package owners.