Module
Module documentation.
modulesort
@briefSorting
@detailsProvides an in-place ascending sort for integer vectors.
@see
- index.html
Classes
Classes and inheritance.
Functions
Free functions and class methods.
functionsort::ints
Signature
func ints(v: collections.Vector<Int>) -> Voidfunc ints(v: collections.Vector<Int>) -> Void {
let n: Int = v.len();
if n <= 1 {@briefSort an integer vector
@param
- vcollections.Vector<Int> to sort (modified in place)
@returnVoid
@warningPoor performance for large inputs.
Variables
Class fields (var).