1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-12 02:27:46 -05:00
denoland-deno/cli/util
David Sherret 972b3e8e65
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-12 13:22:06 +01:00
..
progress_bar chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
checksum.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
console.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
diff.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
display.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
draw_thread.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
file_watcher.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
fs.rs perf: skip expanding exclude globs (#21817) 2024-01-12 13:22:06 +01:00
glob.rs perf: skip expanding exclude globs (#21817) 2024-01-12 13:22:06 +01:00
import_map.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
logger.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
mod.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
path.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
sync.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
text_encoding.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
time.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
unix.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
v8.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
windows.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00