Post AWiehqNaDZSPFWuj2m by mgorny@fosstodon.org
(DIR) More posts by mgorny@fosstodon.org
(DIR) Post #AWiehqNaDZSPFWuj2m by mgorny@fosstodon.org
2023-06-15T15:09:08Z
1 likes, 0 repeats
I have praised python-utils-r1 code prematurely. While it would definitely optimize the cargo case since GIT_CRATES are almost never set, it's suboptimal for the PYTHON_COMPAT case since it's set all the time.So I've made a pull request to use a faster check using `${PYTHON_COMPAT@a}` variable substitution in bash-5. It's not like it saves a lot — according to pkgcraft, roughly 3 s for the whole `dev-python/*` (out of 57 s total) but I suppose it's still worth it.#bash