gingerBill
|
521ed28632
Keep `-vet` happy
|
2 gadi atpakaļ |
gingerBill
|
27130259cc
Coalesce tombstones on `delete_key` to reduce all map slots from being filled on insertion
|
2 gadi atpakaļ |
gingerBill
|
e59e34d334
Change order of map_free_dynamic in usage
|
2 gadi atpakaļ |
gingerBill
|
4fd97c3ba6
Remove `panic`
|
2 gadi atpakaļ |
gingerBill
|
107c7a36d0
Treat `.Mode_Not_Implemented` as not an error when doing `runtime.map_free_dynamic`
|
2 gadi atpakaļ |
gingerBill
|
489e8dc592
Add @(require_results) to map procedures where possible
|
2 gadi atpakaļ |
gingerBill
|
3edb3d8d8c
Simplify the handling of the hashing calls for `map`s
|
2 gadi atpakaļ |
gingerBill
|
ad0f11668b
Correct `map_reserve_dynamic` caused by an bizarre code generation bug
|
2 gadi atpakaļ |
gingerBill
|
04a1e7d638
Correct json/unmarshal.odin
|
2 gadi atpakaļ |
gingerBill
|
16fc961010
Begin work on map static set
|
2 gadi atpakaļ |
gingerBill
|
a0bd31646b
Make `map` get internal calls take the hash value rather than compute it internally
|
2 gadi atpakaļ |
gingerBill
|
5d47e2a166
Change `map_reserve_dynamic` no do anything when current capacity is greater than specified for the reserve
|
2 gadi atpakaļ |
gingerBill
|
b475481788
Get deleted key and value for `delete_key`
|
2 gadi atpakaļ |
gingerBill
|
8852d090b6
Correct static map get; make get take a pointer to simplify compiler internals
|
2 gadi atpakaļ |
gingerBill
|
ac259ac790
Unify reserve and grow code
|
2 gadi atpakaļ |
gingerBill
|
5c106abe3f
Make `map_alloc_dynamic` handle the `nil_allocator()`
|
2 gadi atpakaļ |
gingerBill
|
db748b7a05
Correct logic for `__dynamic_map_set`
|
2 gadi atpakaļ |
gingerBill
|
b035ee2bcd
Swap hashes
|
2 gadi atpakaļ |
gingerBill
|
0424fb486b
Rewrite `map_insert_hash_dynamic`
|
2 gadi atpakaļ |
gingerBill
|
d4f343751e
Inline `__dynamic_map_set` code where possible
|
2 gadi atpakaļ |
gingerBill
|
bcf437dc11
Check for existence before setting
|
2 gadi atpakaļ |
gingerBill
|
503eb470a7
Do an extra check before insertion for pre-existing keys
|
2 gadi atpakaļ |
gingerBill
|
667af1be58
Correct `map_insert_hash_dynamic` and `map_insert_dynamic`
|
2 gadi atpakaļ |
gingerBill
|
366779f8c7
Fix bug with allocator not getting set on a `map`
|
2 gadi atpakaļ |
gingerBill
|
dae299b781
Make `map_free_dynamic` take the total size of the allocation
|
2 gadi atpakaļ |
gingerBill
|
2f29894b45
Minor change to `map_cell_index_static`
|
2 gadi atpakaļ |
gingerBill
|
a71daee545
Allow for `-use-static-map-calls` which generates a get procedure per `map`; add `runtime.map_get`
|
2 gadi atpakaļ |
gingerBill
|
046dd55032
Change `__dynamic_map_get` signature
|
2 gadi atpakaļ |
gingerBill
|
2fc3da3fde
Change `Raw_Map.len` to `int` from `uintptr`
|
2 gadi atpakaļ |
gingerBill
|
a74093784c
Add `intrinsics.map_cell_info` and `intrinsics.map_info`
|
2 gadi atpakaļ |