1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 09:10:40 -05:00
denoland-deno/cli/util
David Sherret e212e1fc35
perf: skip expanding exclude globs (#21817)
We were calling `expand_glob` on our excludes, which is very expensive
and unnecessary because we can pattern match while traversing instead.

1. Doesn't expand "exclude" globs. Instead pattern matches while walking
the directory.
2. Splits up the "include" into base paths and applicable file patterns.
This causes less pattern matching to occur because we're only pattern
matching on patterns that might match and not ones in completely
unrelated directories.
2024-01-08 17:18:42 +00:00
..
progress_bar chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
checksum.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
console.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
diff.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
display.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
draw_thread.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
file_watcher.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
fs.rs perf: skip expanding exclude globs (#21817) 2024-01-08 17:18:42 +00:00
glob.rs perf: skip expanding exclude globs (#21817) 2024-01-08 17:18:42 +00:00
import_map.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
logger.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
mod.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
path.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
sync.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
text_encoding.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
time.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
unix.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
v8.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
windows.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00