Commit Graph

9 Commits

Author SHA1 Message Date
Tetralux
dc236d6830 Fix container.Array.array_push_back_elems
We were previously using array_slice to get the storage
that we were copying the new elements into, using the current
length as the offset: `copy(data[len:], ..elems)`

However, array_slice returns a slice over `data[0:len]` -- we
were using it as if it was `data[0:cap]`.

Add array_cap_slice that does this instead. :^)
2020-05-15 03:54:32 +00:00
gingerBill
026bb8ed6f Remove unused headers 2020-04-21 23:26:59 +01:00
gingerBill
f141e2868d container.Set 2020-04-20 00:12:01 +01:00
gingerBill
400d6014d0 container.Small_Array 2020-04-19 23:57:57 +01:00
gingerBill
ab6947b2c7 container.Small_Array 2020-04-19 23:57:40 +01:00
gingerBill
52bbdefec4 container.Map 2020-04-19 23:43:02 +01:00
gingerBill
8ee67e41f4 Fix #optional_ok; Fix container.Array 2020-04-19 23:08:50 +01:00
gingerBill
97f7a558fa #optional_ok tag for procedures 2020-04-19 21:45:04 +01:00
gingerBill
1addee32b5 package container with Queue and Array 2020-04-17 15:26:50 +01:00