From 4ff8793aea2c585b7eddad5a7791ead2bef72b54 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 02:31:20 -0300 Subject: fs: find_max_hits, find_max_depth and grep_max_files go, unread since Find and Grep moved to the disk engine's worker (the note above them said as much); Tables: the timing test behind TABLES_TIMES goes, as the query, stream and grep ones did (a benchmark inside a unit test, its numbers in docs/next-tables.md as they are) Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/fs.zig | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/fs.zig') diff --git a/src/fs.zig b/src/fs.zig index 207f1018..0ee7b4cd 100644 --- a/src/fs.zig +++ b/src/fs.zig @@ -1102,19 +1102,11 @@ pub const platform_has_fs = !pardes.isolated and switch (pardes.platform) { .web, .esp32p4 => false, }; -const find_max_hits = 512; - -const find_max_depth = 16; - pub const find_skip = [_][]const u8{ ".git", ".jj", "target", "node_modules", ".venv", "__pycache__", ".zig-cache", "zig-out", }; -// Find and Grep walk on the disk engine's worker now (Stream.zig); what is -// left here is what their notes and skips were. -const grep_max_files = 20_000; - fn isDir(path: [*:0]const u8) bool { const fd = libc.open(path, .{ .ACCMODE = .RDONLY, .DIRECTORY = true, .CLOEXEC = true }); if (fd < 0) return false; -- cgit v1.3