You probably don't want to use array, you probably want to use seq instead. 
Arrays are usually meant for small, compile time things that can fit on the 
stack. The 128 * 128 = 16384 can, on some systems, overflow your stack and 
cause a crash.

I would use seq[int] everywhere instead of openArray[int], UncheckedArray[int], 
array[0..0, int] and only use them in special cases. This would obliviate the 
need for pp.

You can also use staticRead or static block to read in data during compile time.

Reply via email to