Zahary Karadjov
ba631f7f5d
add a pushFront operation for the bitranges
2018-06-20 21:23:46 +03:00
Zahary Karadjov
580043724c
helpers for manipulating binary formats using bit sequences
2018-06-20 19:45:10 +03:00
andri lim
8ea8a4ff27
fix hash function
2018-06-17 12:46:39 +03:00
andri lim
08478bc225
fix hash function
2018-06-17 12:46:39 +03:00
andri lim
d6b0dad73e
add hash function
2018-06-17 12:46:39 +03:00
Yuriy Glukhov
42c8e730de
Fixes #10
2018-06-15 14:15:00 +03:00
andri lim
af939d8ac4
fix zero length concat
2018-06-12 16:00:45 +07:00
andri lim
39f0a3cd03
fix concat operation
2018-06-08 10:07:47 +07:00
andri lim
c23f4ddf1b
add concat operation
2018-06-07 22:26:08 +07:00
andri lim
d9e93b33a0
add equality operator
2018-06-06 22:53:02 +07:00
cheatfate
efcc9e1910
Fix windows compilation error for alloca.
...
Added MacOS testing.
2018-04-19 23:47:12 +03:00
Yuriy Glukhov
3e3d2d4a2f
Some fixes
2018-04-19 22:00:22 +03:00
Zahary Karadjov
3cc2b9eb5f
more disclaimers and possible future directions
2018-04-19 15:42:02 +03:00
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
Yuriy Glukhov
eb6e359d93
Some additions
2018-03-14 14:55:28 +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