Files
Odin/core
Tetralux fa2296a124 [runtime] Add builtin shrink for dynamic arrays and maps
Asks the allocator to shrink the backing allocation to the current __length__, or a capacity
of the user's choosing.

Returns `(did_shrink: bool, err: mem.Allocator_Error)`.

```
shrink(&array) // shrinks to len(array)
shrink(&array, N) // shrink to N capacity

shrink(&map) // shrinks down to len(map)
shrink(&map, N) // shrink to N capacity
```
2022-06-04 23:29:47 +00:00
..
2022-05-14 12:27:21 +01:00
2022-05-23 11:48:05 +01:00
2022-05-14 15:32:28 +01:00
2022-05-31 00:01:23 +01:00
2022-05-05 15:30:07 +01:00
2022-05-15 23:46:32 +01:00
2022-05-28 15:21:07 +01:00
2022-05-30 16:08:06 +01:00
2022-01-07 06:12:00 +01:00
2022-05-28 15:41:27 +01:00
2022-05-14 13:34:52 +02:00
2022-04-27 14:37:15 +02:00