std.fs.fast_list_dir

std.fs

fast_list_dir(path) -> entries, err

List directory entries using optimized syscall

Same return shape as list_dir (array of filenames including "." and ".."), but uses the getdents64 syscall directly, avoiding per-entry stat calls. Faster than list_dir for large directories. Returns nil and an error string on failure.