aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTetralux <tetraluxonpc@gmail.com>2024-11-16 05:49:25 +0000
committerTetralux <tetraluxonpc@gmail.com>2024-11-16 06:13:12 +0000
commit2f85257bad7a4089ae20564f29e2bb629c03b656 (patch)
tree8e0007804bb763a2d58fb91cf358d8c0660a7529 /src
parent0781871efdcfeda13d3d8d51df62b5e578da774a (diff)
[runtime] `make(map[K]V)` should not allocate any capacity
`make(map[K]V)` was resolving to `make_map_cap()` which allocates initial capacity when it wasn't intended to. It now calls `make_map()` which doesn't allocate any capacity. Both `make(map[K]V)` and `make(map[K]V, allocator)` will NOT allocate initial capacity now.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions