Package psort includes functions for parallel sorting.
Package Files ¶
Slice sorts the given slice according to the ordering induced by the provided less function. Parallel computation will be attempted, up to the limit imposed by parallelism. This function can be much faster than the standard library's sort.Slice() when sorting large slices on multicore machines.