gingerBill
|
831620bfc4
Remove header cache code
|
2 years ago |
gingerBill
|
ff97a73152
Reduce unnecessary map gets
|
2 years ago |
gingerBill
|
769d8dd038
Simplify `__get_map_header` stuff
|
2 years ago |
gingerBill
|
1d793ea338
Split header table data and the map pointer
|
2 years ago |
gingerBill
|
3fb69d59bb
Minor correction to `__get_map_header`
|
2 years ago |
gingerBill
|
cd484979a8
General clean up minor with rearrangements and removing unneeded procedures
|
2 years ago |
gingerBill
|
9e3ea92829
Inline many calls and delete unused procedures
|
2 years ago |
gingerBill
|
c37de9459e
Minor refactor of the dynamic_map_internal.odin stuff
|
2 years ago |
gingerBill
|
fbf036a654
Wrap `__dynamic_map_find` for certain cases
|
2 years ago |
gingerBill
|
bfe0ffd6e6
Minor clean up
|
2 years ago |
gingerBill
|
8ee6bb5d4b
Add `contextless` where possible in dynamic_map_internal.odin
|
2 years ago |
gingerBill
|
7840c1b89f
Change `__dynamic_map_get` and `__dynamic_map_set` to use separate parameters rather than take a singular struct
|
2 years ago |
gingerBill
|
0428d5ae2e
Catch missing areas of `Map_Index` usage
|
2 years ago |
gingerBill
|
b967ae2739
Change internal map indices to use a distinct `uint` rather than just `int`
|
2 years ago |
gingerBill
|
a903e5024c
Chnage `next_pow2` to `ceil_to_pow2`
|
2 years ago |
gingerBill
|
0ff5ff6ff2
Use pow of two capacity for hash maps to allow for `& (n-1)` instead of `% n`
|
3 years ago |
gingerBill
|
c97a8418dc
Clean-up and unification for the allocation procedures
|
3 years ago |
gingerBill
|
4aca9372a6
Improve `resize` call
|
3 years ago |
Tetralux
|
fa2296a124
[runtime] Add builtin `shrink` for dynamic arrays and maps
|
3 years ago |
gingerBill
|
802df73183
Remove unneeded call
|
3 years ago |
gingerBill
|
c64674c39e
Remove unnecessary `assert`s
|
3 years ago |
gingerBill
|
d386563344
Correct issue with the generated `map` type internals; Simplify map rehash logic to utilize `resize`
|
3 years ago |
gingerBill
|
e6d8fbf194
Add `runtime.__get_map_header_runtime`
|
3 years ago |
gingerBill
|
868c923770
Make `map` internals more robust when using `mem.nil_allocator()`
|
3 years ago |
gingerBill
|
720884e0f1
Strip even more semicolons if followed by a `}` or `)` on the same line
|
4 years ago |
gingerBill
|
251da264ed
Remove unneeded semicolons from the core library
|
4 years ago |
gingerBill
|
a5c31bbee0
Add `map_insert` which returns the pointer to inserted value
|
4 years ago |
gingerBill
|
f0437a4242
Enforce `core:builtin` and `core:intrinsics` for imports
|
4 years ago |
gingerBill
|
4d00c2b800
`Allocator_Error.Mode_Not_Implemented`; Minor improvement to `map` runtime procedures
|
4 years ago |
gingerBill
|
9f8a63cb43
More minor stylization changes (remove unneeded parentheses)
|
4 years ago |