| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move `core:runtime` to `base:runtime`; keep alias around | gingerBill | 2024-01-28 | 1 | -138/+0 |
| | | |||||
| * | Minor refactor of the dynamic_map_internal.odin stuff | gingerBill | 2022-09-17 | 1 | -0/+2 |
| | | |||||
| * | Improve `resize` call | gingerBill | 2022-08-08 | 1 | -3/+7 |
| | | |||||
| * | Merge pull request #1818 from IanLilleyT/reserve_exceed | gingerBill | 2022-06-12 | 1 | -2/+2 |
| |\ | | | | | Dynamic array append reserves more space when it exceeds capacity | ||||
| | * | Reserve more space when exceeding, not meeting, capacity | Ian Lilley | 2022-06-01 | 1 | -2/+2 |
| | | | |||||
| * | | [runtime] Add builtin `shrink` for dynamic arrays and maps | Tetralux | 2022-06-04 | 1 | -0/+29 |
| |/ | | | | | | | | | | | | | | | 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 ``` | ||||
| * | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -44/+44 |
| | | |||||
| * | Improve the `Allocator` interface to support returning `Allocator_Error` to ↵ | gingerBill | 2021-04-19 | 1 | -3/+6 |
| | | | | | | | allow for safer calls Virtually all code (except for user-written custom allocators) should work as normal. Extra features will need to be added to make the current procedures support the `Allocator_Error` return value (akin to #optional_ok) | ||||
| * | Reorganize runtime code into separate files | gingerBill | 2020-11-19 | 1 | -0/+100 |