package
Version:
v0.0.0-...-e9b39da
Opens a new window with list of versions in this module.
Published: Mar 21, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package merge contains implementations of merge algorithms.
func BinaryCmp[T any](s, t []T, cmp func(a, b T) int) []T
BinaryCmp merges two sorted slices, s and t, into a resulting sorted slice using a custom comparison function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.