Tetralux
|
2f85257bad
[runtime] `make(map[K]V)` should not allocate any capacity
|
9 mēneši atpakaļ |
Laytan Laats
|
10c2f8dbeb
math/rand: add `choice_bit_set`
|
10 mēneši atpakaļ |
Karl Zylinski
|
fd05d94789
Add make_map that just takes an allocator and no capacity, similar to make_dynamic_array. This renames the old make_map to make_map_cap.
|
11 mēneši atpakaļ |
mtarik34b
|
82aefd4203
Add documentation to `runtime.container_of`
|
11 mēneši atpakaļ |
Laytan Laats
|
603efa860a
add '#caller_expression'
|
11 mēneši atpakaļ |
Franz Hoeltermann
|
02da1ac9af
Added `#any_int` directive to some more builtin slice/dynamic array
|
1 gadu atpakaļ |
gingerBill
|
78fa675c1a
Add `assert_contextless`, `panic_contextless`, `unimplemented_contextless`
|
1 gadu atpakaļ |
Laytan Laats
|
26fa3aca44
fix copy-paste error in `make` docs
|
1 gadu atpakaļ |
gingerBill
|
196ac7e6d6
Type erase `_make_dynamic_array_len_cap`
|
1 gadu atpakaļ |
gingerBill
|
26a9416a41
Minor clean ups
|
1 gadu atpakaļ |
gingerBill
|
e768bddaeb
Inline `_append_elem_string` further
|
1 gadu atpakaļ |
gingerBill
|
83b7dd122a
Type erase for `append_elems`
|
1 gadu atpakaļ |
gingerBill
|
b0fbaf24a0
Type erase `append_elem`
|
1 gadu atpakaļ |
gingerBill
|
15fb4ded2a
type erase `resize` and `reserve` internals
|
1 gadu atpakaļ |
gingerBill
|
8642d719f0
Imply `#no_capture` to all variadic parameters
|
1 gadu atpakaļ |
gingerBill
|
c7bd954752
Add more uses of `#no_capture`
|
1 gadu atpakaļ |
gingerBill
|
942f3f5220
Add `non_zero_*` variants for `#soa` dynamic array
|
1 gadu atpakaļ |
gingerBill
|
8ddfcf174d
Add `#soa` support to `append` directly
|
1 gadu atpakaļ |
gingerBill
|
7f6fe91896
Add #soa forms to reserve, clear, and resize
|
1 gadu atpakaļ |
gingerBill
|
11617af8f5
Add support for `make(#soa[]T)` etc
|
1 gadu atpakaļ |
Karl Zylinski
|
679f9b4e41
Made default capacity of dynamic arrays more consistent.
|
1 gadu atpakaļ |
gingerBill
|
a1ae6f161b
Merge pull request #3502 from ARtemachka/master
|
1 gadu atpakaļ |
Karl Zylinski
|
f227a40652
Replace `max(8, 1)` in _append_elem with just `8` and a comment.
|
1 gadu atpakaļ |
Feoramund
|
50464bdce3
Use `#any_int` for `reserve_*` and `resize_*` procs
|
1 gadu atpakaļ |
Artsiom Babukh
|
805bb69c6c
Fix typo in core_builtin
|
1 gadu atpakaļ |
Chris
|
6dcf38b85b
Correct `copy_from_string` docs
|
1 gadu atpakaļ |
gingerBill
|
34247b2658
Fix `resize` bug caused by typo
|
1 gadu atpakaļ |
gingerBill
|
45d7dd8f27
Fix `resize` zeroing behaviour
|
1 gadu atpakaļ |
gingerBill
|
29e5f94c2a
Add `#no_broadcast` procedure parameter to disallow automatic array programming broadcasting on procedure arguments
|
1 gadu atpakaļ |
gingerBill
|
9a41a450e7
Add builtin `map_upsert`
|
1 gadu atpakaļ |