aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Keep `-vet` happydev-2022-12gingerBill2022-12-061-1/+1
|
* Coalesce tombstones on `delete_key` to reduce all map slots from being ↵gingerBill2022-12-061-7/+50
| | | | | | filled on insertion This is a bodge and will need to be replaced with an actual solution involving backward shift deletion rather than relying on tombstone slots in the first place.
* Change order of map_free_dynamic in usagegingerBill2022-11-291-4/+7
|
* Remove `panic`gingerBill2022-11-291-1/+1
|
* Treat `.Mode_Not_Implemented` as not an error when doing ↵gingerBill2022-11-291-11/+9
| | | | `runtime.map_free_dynamic`
* Correct `map_insert`gingerBill2022-11-141-4/+1
|
* Add @(require_results) to map procedures where possiblegingerBill2022-11-131-14/+36
|
* Simplify the handling of the hashing calls for `map`sgingerBill2022-11-131-74/+24
|
* Correct `map_reserve_dynamic` caused by an bizarre code generation buggingerBill2022-11-132-14/+20
|
* Correct json/unmarshal.odingingerBill2022-11-111-0/+6
|
* Begin work on map static setgingerBill2022-11-111-3/+1
|
* Make `map` get internal calls take the hash value rather than compute it ↵gingerBill2022-11-111-12/+9
| | | | internally
* Change `map_reserve_dynamic` no do anything when current capacity is greater ↵gingerBill2022-11-112-2/+4
| | | | than specified for the reserve
* Get deleted key and value for `delete_key`gingerBill2022-11-112-5/+15
|
* Correct static map get; make get take a pointer to simplify compiler internalsgingerBill2022-11-101-11/+10
|
* Unify reserve and grow codegingerBill2022-11-101-44/+3
|
* Make `map_alloc_dynamic` handle the `nil_allocator()`gingerBill2022-11-101-0/+4
|
* Correct logic for `__dynamic_map_set`gingerBill2022-11-091-20/+32
|
* Swap hashesgingerBill2022-11-091-6/+4
|
* Rewrite `map_insert_hash_dynamic`gingerBill2022-11-091-38/+28
|
* Use `mem_resize` where possiblegingerBill2022-11-091-17/+3
|
* Inline `__dynamic_map_set` code where possiblegingerBill2022-11-081-23/+17
|
* Check for existence before settinggingerBill2022-11-081-21/+8
| | | | Test code
* Do an extra check before insertion for pre-existing keysgingerBill2022-11-081-17/+32
| | | | This is test code
* Correct `map_insert_hash_dynamic` and `map_insert_dynamic`gingerBill2022-11-081-88/+5
|
* Fix bug with allocator not getting set on a `map`gingerBill2022-11-082-42/+27
|
* Make `map_free_dynamic` take the total size of the allocationgingerBill2022-11-082-23/+30
|
* Minor change to `map_cell_index_static`gingerBill2022-11-081-9/+9
|
* Allow for `-use-static-map-calls` which generates a get procedure per `map`; ↵gingerBill2022-11-081-9/+95
| | | | add `runtime.map_get`
* Change `__dynamic_map_get` signaturegingerBill2022-11-081-85/+88
|
* Change `Raw_Map.len` to `int` from `uintptr`gingerBill2022-11-082-3/+3
|
* Add `intrinsics.map_cell_info` and `intrinsics.map_info`gingerBill2022-11-081-15/+8
|
* Make `Map_Info` store pointers to cell info rather than inlinegingerBill2022-11-082-57/+35
|
* Add `runtime.map_exists_dynamic`gingerBill2022-11-081-1/+24
|
* Correct `reflect.map_entry_info_slice`gingerBill2022-11-081-2/+1
|
* Correct hashing for `map` typesgingerBill2022-11-081-86/+93
|
* General modificationsgingerBill2022-11-081-22/+26
|
* Basic fmt printing for `map`gingerBill2022-11-072-12/+9
|
* Basic get and set support for new `map`gingerBill2022-11-071-28/+62
|
* Begin work on implementing the new `map` internalsgingerBill2022-11-073-331/+708
|
* Merge branch 'master' into allocator-mode-alloc-non-zeroedgingerBill2022-11-033-33/+5
|\
| * 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
| |
* | Add `Allocator_Mode.Alloc_Non_Zerored`gingerBill2022-09-226-12/+20
|/
* 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
|