I have no idea whether or not this Change would add significantly to
package build times in practice. It’s a good question. I think answering
it would require benchmarks rather than asymptotic reasoning, though.
There are plenty of things in an RPM build that already inherently take
O(N) time in the number of files or the total size of the files, even
ignoring %build and %install. Consider that a typical BRP (Buildroot
Policy) script starts with:
find "$RPM_BUILD_ROOT" -type f -print0 | …
and that the entire file contents of each RPM must be compressed.
On 4/5/22 04:26, Vitaly Zaitsev via devel wrote:
On 04/04/2022 12:34, Fabio Valentini wrote:
I wonder, does this have measurable effect on the time it takes to
build a package?
O(1) -> O(N), where N is the number of files in the RPM package.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure