Commit Graph

62 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 bd47531c5f
Merge pull request #3 from status-im/moved-toopenarray-def
Moved toOpenArray above its usage
2018-04-11 18:08:14 +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
Yuriy Glukhov eb6e359d93 Some additions 2018-03-14 14:55:28 +02:00
Zahary Karadjov 38e2c29926 Use the standard Nimble name for the Apache v2 license 2018-02-27 19:44:58 +02:00
Zahary Karadjov 9ad57df473 obtain mem ranges from strings and sequences 2018-02-16 16:58:46 +02:00
Zahary Karadjov ee803f088f pointer arithmetic helpers 2018-02-16 16:39:44 +02:00
Zahary Karadjov 9815d9708f initial definition of a MemRange type 2018-02-16 16:38:25 +02:00
zah 27aa9d9bc2
Initial commit 2018-02-16 16:19:48 +02:00