Lower numbers for unchecked array

This commit is contained in:
cheatfate 2016-07-05 20:01:21 +03:00
commit ffb975f474

View file

@ -185,7 +185,7 @@ else:
import locks
type
SharedArray {.unchecked.}[T] = array[0..100_000_000, T]
SharedArray {.unchecked.}[T] = array[0..100, T]
proc allocSharedArray[T](nsize: int): ptr SharedArray[T] =
result = cast[ptr SharedArray[T]](allocShared0(sizeof(T) * nsize))