angular-cn/packages/compiler-cli/ngcc/test/entry_point_finder
Pete Bacon Darwin e037840b88 perf(ngcc): speed up the `getBasePaths()` computation (#36881)
This function needs to deduplicate the paths that are found from the
paths mappings. Previously this deduplication was not linear and also
called the expensive `relative()` function many times.

This commit, suggested by @JoostK, reduces the complexity of the deduplication
by using a tree structure built from the segments of each path.

PR Close #36881
2020-05-04 12:50:02 -07:00
..
directory_walker_entry_point_finder_spec.ts refactor(ngcc): move `PathMappings` to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
targeted_entry_point_finder_spec.ts refactor(ngcc): move `PathMappings` to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
utils_spec.ts perf(ngcc): speed up the `getBasePaths()` computation (#36881) 2020-05-04 12:50:02 -07:00