Skip to content

Conversation

@mateusz834
Copy link
Contributor

After #25832 it has safety features (memset to undefined), we can take use of that here, since scratch is a temporary storage.

@mateusz834 mateusz834 force-pushed the astgen-scratch-shrinkRetainingCapacity branch from 7c72ea0 to f551d9c Compare November 8, 2025 20:04
@mateusz834 mateusz834 changed the title std.zig.AstGen: use shrinkRetainingCapacity while shrinking scratch list. std.zig.AstGen: use shrinkRetainingCapacity while shrinking scratch list Nov 8, 2025
After ziglang#25832 it has safety features (memset to undefined), we can take
use of that here, since scratch is a temporary storage.
@mateusz834 mateusz834 force-pushed the astgen-scratch-shrinkRetainingCapacity branch from f551d9c to 3e3f8a4 Compare November 8, 2025 20:14
@mateusz834 mateusz834 marked this pull request as ready for review November 8, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant