aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Make `raw_data` an intrinsic rather a `@(builtin)` runtime proceduregingerBill2022-10-301-28/+0
|
* Fix signature for `objc_allocateClassPair`Julian Ceipek2022-10-201-1/+1
|
* Use `uint` instead of `int` to improve code generation for bounds checkinggingerBill2022-09-271-3/+3
|
* Fix typo in `map_insert`gingerBill2022-09-231-1/+1
|
* Fix `map_insert`gingerBill2022-09-211-3/+3
|
* Remove header cache codegingerBill2022-09-211-3/+0
|
* Reduce unnecessary map getsgingerBill2022-09-212-10/+21
|
* Simplify `__get_map_header` stuffgingerBill2022-09-211-11/+21
|
* Split header table data and the map pointergingerBill2022-09-211-84/+90
|
* Minor correction to `__get_map_header`gingerBill2022-09-171-1/+1
|
* General clean up minor with rearrangements and removing unneeded proceduresgingerBill2022-09-171-31/+26
|
* Inline many calls and delete unused proceduresgingerBill2022-09-172-34/+20
|
* Minor refactor of the dynamic_map_internal.odin stuffgingerBill2022-09-172-66/+60
|
* Correct `delete_key`gingerBill2022-09-171-1/+1
|
* Wrap `__dynamic_map_find` for certain casesgingerBill2022-09-172-9/+12
|
* Minor clean upgingerBill2022-09-171-3/+2
|
* Add `contextless` where possible in dynamic_map_internal.odingingerBill2022-09-171-8/+7
|
* Change `__dynamic_map_get` and `__dynamic_map_set` to use separate ↵gingerBill2022-09-171-8/+13
| | | | parameters rather than take a singular struct
* Catch missing areas of `Map_Index` usagegingerBill2022-09-171-5/+5
|
* Change internal map indices to use a distinct `uint` rather than just `int`gingerBill2022-09-173-26/+28
|
* Chnage `next_pow2` to `ceil_to_pow2`gingerBill2022-09-171-2/+2
|
* Use pow of two capacity for hash maps to allow for `& (n-1)` instead of `% n`gingerBill2022-09-121-6/+27
|
* Replace `#optional_second` with `#optional_allocator_error`gingerBill2022-09-122-10/+10
|
* Fix `append_nothing`gingerBill2022-08-261-1/+1
|
* Add a return value to `append` that states the number of elements that were ↵gingerBill2022-08-261-10/+18
| | | | returned
* Fix `append` for size_of(E) == 0Jeroen van Rijn2022-08-231-2/+2
|
* Fix #1965gingerBill2022-08-201-9/+19
|
* Update `delete` to pass size in bytes to free when possiblegingerBill2022-08-082-4/+19
|
* Add `#soa` pointer type to aid with refactoring to `#soa` data typesgingerBill2022-08-082-0/+13
| | | | | | | | a: #soa[16]Foo p := &a[6] #assert(type_of(p) == #soa^#soa[16]Foo) p^.x = 123 p.x = 123
* Clean-up and unification for the allocation proceduresgingerBill2022-08-082-24/+22
|
* Improve `resize` callgingerBill2022-08-083-22/+42
|
* Make `unreachable()` a built-in compiler-level proceduregingerBill2022-08-051-14/+0
|
* Fix string orderings to account for prefix-equal stringsAtanas Dimitrov2022-08-031-1/+6
|
* Simplify logic of `append` of zero sized elementsgingerBill2022-08-021-25/+31
|
* Replace `insert_at` with `inject_at` and `assign_at`gingerBill2022-07-241-4/+48
|
* Add runtime.dll_forward_reason for Windows DLLs.Jeroen van Rijn2022-06-212-5/+22
|
* Merge pull request #1818 from IanLilleyT/reserve_exceedgingerBill2022-06-121-2/+2
|\ | | | | Dynamic array append reserves more space when it exceeds capacity
| * Reserve more space when exceeding, not meeting, capacityIan Lilley2022-06-011-2/+2
| |
* | Merge pull request #1819 from IanLilleyT/no_query_infogingerBill2022-06-122-3/+3
|\ \ | | | | | | Allocator: tidying up Query_Info return values when not part of Query_Features
| * | tidying up Query_Info return value when not in query featuresIan Lilley2022-06-012-3/+3
| |/
* | Minor change to `shrink`gingerBill2022-06-121-4/+4
| |
* | [runtime] Add builtin `shrink` for dynamic arrays and mapsTetralux2022-06-043-2/+110
|/ | | | | | | | | | | | | | | 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 ```
* Add `raw_simd_data`gingerBill2022-05-251-1/+5
|
* Merge functionality of `#maybe` with the standard 'union' functionalitygingerBill2022-05-232-2/+1
|
* Make `raw_data` return `[^]T` typesgingerBill2022-05-231-7/+7
|
* Clean up `core:time` to be consistent across all platformsgingerBill2022-05-121-1/+1
|
* Update arch enumgingerBill2022-05-012-2/+5
|
* Add new builtin `container_of`gingerBill2022-04-271-0/+10
|
* runtime: update comment descriptionhikari2022-04-161-0/+1
|
* runtime: fix typohikari2022-04-071-1/+1
|