aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-04-14 11:53:37 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-04-14 12:22:42 +0000
commitffd4db6b940600e78ab01f8ef06bb3e7629f48e6 (patch)
treeff131996f83404e3717660efdf65461fcc8ea628 /editors
parent5eab5d2691e3290eee56e5c9f6dbe99a1bd8a866 (diff)
downloadports-ffd4db6b940600e78ab01f8ef06bb3e7629f48e6.tar.gz
ports-ffd4db6b940600e78ab01f8ef06bb3e7629f48e6.zip
Speed up USES=cargo ports ops
MASTER_SITES aliases processing in the framework is very inefficient and the CRATESIO indirection is not worth it. Normally ports only have a handful of sites at most, but USES=cargo currently adds one site for each crate by necessity. The inefficiency suddenly matters a lot. By consuming MASTER_SITE_CRATESIO directly we can sidestep this issue without losing anything. Before: $ time make -C www/zola -V MASTER_SITES >/dev/null 4.21 real 4.14 user 0.03 sys After: $ time make -C www/zola -V MASTER_SITES >/dev/null 0.60 real 0.58 user 0.02 sys
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions