diff options
| author | Alex Kladov <aleksey.kladov@gmail.com> | 2024-05-13 15:17:11 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-20 12:04:20 -0400 |
| commit | 9f4f43cf7fdd2b2a50e475a1e7d740c9bcc2227e (patch) | |
| tree | 0f34d876e3552abbc898bd813cc895f0026d9e4f /lib/libc/include/powerpc64-linux-gnu | |
| parent | 8aae0d87b5808e3674f2d37c8de7b10e305de9da (diff) | |
| download | zig-9f4f43cf7fdd2b2a50e475a1e7d740c9bcc2227e.tar.gz zig-9f4f43cf7fdd2b2a50e475a1e7d740c9bcc2227e.zip | |
std: align PriorityQueue and ArrayList API-wise
ArrayList uses `items` slice to store len initialized items, while
PriorityQueue stores `capacity` potentially uninitialized items.
This is a surprising difference in the API that leads to bugs!
https://github.com/tigerbeetle/tigerbeetle/pull/1948
Diffstat (limited to 'lib/libc/include/powerpc64-linux-gnu')
0 files changed, 0 insertions, 0 deletions
