Closed vemv closed 3 years ago
formatting-stack.strategies/namespaces-within-refresh-dirs-only is file-heavy and therefore slow. It can increase the cost of (files-from-strategies strategies) for whole-project analysis from 20s to 60s.
formatting-stack.strategies/namespaces-within-refresh-dirs-only
(files-from-strategies strategies)
Parallelize it - it's easy: xs ->> (filter ...) -> xs ->> (partitioning-pmap ...) (filter identity)
xs ->> (filter ...)
xs ->> (partitioning-pmap ...) (filter identity)
Problem statement
formatting-stack.strategies/namespaces-within-refresh-dirs-only
is file-heavy and therefore slow. It can increase the cost of(files-from-strategies strategies)
for whole-project analysis from 20s to 60s.Proposal
Parallelize it - it's easy:
xs ->> (filter ...)
->xs ->> (partitioning-pmap ...) (filter identity)
Alternatives and comparison