6 Commits

Author SHA1 Message Date
Zahary Karadjov
5145020c30 review changes:
* the length is stored as int32
* negative indexing is now supported with arr[^idx]
* toOpenArray supports slicing
* raise operations extracted in procs in order to reduce code bloat

A large disclaimer has been added warning about the possible risks
of using the StackArray type.
2018-04-19 15:42:02 +03:00
Zahary Karadjov
51121411a0 rename ranges/stackarray to stackarrays for consitency 2018-04-19 15:42:02 +03:00
Zahary Karadjov
0fb54a8a9d Implement helpers for using alloca-based stack arrays 2018-04-19 15:42:02 +03:00
Yuriy Glukhov
991bdb8443 Moved toOpenArray above its usage 2018-04-11 17:24:16 +03:00
Yuriy Glukhov
86037c1d93 Typed ranges 2018-03-26 16:17:22 +03:00
Zahary Karadjov
9815d9708f initial definition of a MemRange type 2018-02-16 16:38:25 +02:00