adix/memutil

Search:
Group by:
Source   Edit  

Procs

proc pullDown[T](x: var seq[T]; i, n: int) {.inline.}
move n items down 1; i.e. x[i..i+n-1] = x[i+1..i+n] Source   Edit  
proc pushUp[T](x: var seq[T]; i, n: int) {.inline.}
move n items up 1; i.e. x[i+1..i+n] = x[i..i+n-1] Source   Edit