algorithms

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareAny

func CompareAny(a, b any) int

CompareAny compares two values of any type for mixed-type sorting.

func GetTypeSortingRank

func GetTypeSortingRank(v any) int

GetTypeSortingRank returns the type rank for sorting mixed types.

func ParallelSortStableFunc

func ParallelSortStableFunc[S ~[]E, E any](x S, cmp func(E, E) int)

ParallelSortStableFunc performs a stable, parallel sort using cmp.

Types

This section is empty.

Jump to

Keyboard shortcuts

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