diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 02:31:20 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 09:54:56 -0300 |
| commit | 4ff8793aea2c585b7eddad5a7791ead2bef72b54 (patch) | |
| tree | 1c302860ff6cdc1bd06b58943493a110c6bcc339 /src/fs.zig | |
| parent | 18e25095a8fe76943a120bcf30225e5a01ab1858 (diff) | |
| download | pardes-4ff8793aea2c585b7eddad5a7791ead2bef72b54.tar.gz pardes-4ff8793aea2c585b7eddad5a7791ead2bef72b54.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |
