Files
zig/lib/std
Hila Friedman 746dd51faf Simplify std.ArrayList.replaceRange and std.ArrayList.replaceRangeAssumeCapacity (#31710)
The implementations of `std.ArrayList.replaceRange` and `std.ArrayList.replaceRangeAssumeCapacity` were needlessly complicated, called `@memcpy` too many times, and left the structure in a semi-modified state in OOM conditions. This commit fixes that.

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31710
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
Co-authored-by: Hila Friedman <red.black.liquorice@gmail.com>
Co-committed-by: Hila Friedman <red.black.liquorice@gmail.com>
2026-04-02 15:11:24 +02:00
..
2026-04-02 15:05:31 +02:00
2025-11-22 22:42:38 +00:00
2026-04-02 15:05:31 +02:00
2026-03-10 10:38:50 +00:00
2025-11-22 22:42:38 +00:00
2026-03-31 14:47:22 -05:00
2026-02-11 23:37:31 +01:00
2026-04-02 15:05:31 +02:00
2026-03-10 10:38:50 +00:00
2026-02-13 17:58:09 -05:00
2026-03-10 10:38:50 +00:00
2026-03-10 10:26:07 +00:00
2025-12-22 10:00:35 -08:00
2025-11-22 22:42:38 +00:00
2026-03-21 02:56:24 -04:00
2025-08-29 17:14:26 -07:00
2025-08-29 17:14:26 -07:00
2026-03-10 10:38:50 +00:00
2026-03-10 10:26:14 +00:00
2026-03-21 02:56:24 -04:00
2025-08-28 18:30:57 -07:00
2026-03-12 17:44:03 -04:00
2025-07-16 10:27:39 -07:00