0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Ryan Liptak 274d19575e fs: Optimize Dir.deleteTree for non-deeply-nested directories
`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 2022-10-05 03:27:25 -07:00
..
compiler_rt use @ptrCast to assigned generic type to default_value 2022-09-27 13:21:01 +03:00
docs autodoc: Added .html to generated source view file names 2022-09-26 15:46:01 +02:00
include update C headers to LLVM 15 rc3 2022-08-29 15:14:58 -07:00
init-exe init-exe template: add flushing to the buffered writer 2022-08-04 21:12:42 +02:00
init-lib flatten lib/std/special and improve "pkg inside another" logic 2022-05-06 22:41:00 -07:00
libc glibc/abilists: add libresolv stubs 2022-08-25 16:36:10 +03:00
libcxx update libcxx to LLVM 15 rc3 2022-08-29 15:12:46 -07:00
libcxxabi update libcxxabi to LLVM 15 2022-08-04 18:02:01 -07:00
libunwind update libunwind to LLVM 15 2022-08-04 18:09:10 -07:00
std fs: Optimize Dir.deleteTree for non-deeply-nested directories 2022-10-05 03:27:25 -07:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig stage2: implement referenced by trace for error messages 2022-09-15 00:50:18 +03:00
c.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
compiler_rt.zig stage2: lower float negation explicitly 2022-06-30 00:02:00 -07:00
ssp.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
test_runner.zig Move std.testing.zig_exe_path into build options 2022-09-14 14:42:58 -07:00