mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
`deleteTree` now uses a stack-allocated stack for the first 16 nested directories, and then falls back to the previous implementation (which only keeps 1 directory open at a time) when it runs out of room in its stack. This allows the function to perform as well as a recursive implementation for most use-cases without needing allocation or introducing the possibility of stack overflow. |
History
|
|
|---|---|---|
| .. | ||
| compiler_rt | ||
| docs | ||
| include | ||
| init-exe | ||
| init-lib | ||
| libc | ||
| libcxx | ||
| libcxxabi | ||
| libunwind | ||
| std | ||
| tsan | ||
| build_runner.zig | ||
| c.zig | ||
| compiler_rt.zig | ||
| ssp.zig | ||
| test_runner.zig | ||