floco
floco copied to clipboard
mkTreeInfoHoisted is slow
mkTreeInfoHoisted
is unreasonably slow to the point of being unusable for any project larger than ~150 modules.
A rough list of things that could be optimized here are:
-
subScopeHoisted
could ignore dependencies which are already in scope. Modifying thepred
function could help here. - Using
pdefClosureFunctorCached
could eliminate redundant collections of closures insubScopeHoisted
. - General reduction in usage of modules/types for internal operations.