From a34184bf88cc451f44c65f8e9afd6332080217ad Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 15 Sep 2018 00:23:27 +0200 Subject: documents system.cmp's platform specific behaviour; fixes #8930 --- lib/system.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/system.nim b/lib/system.nim index ef6138ad1..353500a4a 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1237,6 +1237,8 @@ proc cmp*[T](x, y: T): int {.procvar.} = proc cmp*(x, y: string): int {.noSideEffect, procvar.} ## Compare proc for strings. More efficient than the generic version. + ## **Note**: The precise result values depend on the used C runtime library and + ## can differ between operating systems! proc `@`* [IDX, T](a: array[IDX, T]): seq[T] {. magic: "ArrToSeq", nosideeffect.} -- cgit 1.4.1-2-gfad0