[Rpm-maint] [rpm-software-management/rpm] Use xcalloc() instead of open-coded arithmetic (PR #1900)
Demi Marie Obenour
notifications at github.com
Wed Jan 26 16:48:43 UTC 2022
> calloc() is significantly more expensive than malloc(), and these happen for every single package for non-trivial quantities of memory.
`base2bin` also uses xcalloc(), and I would prefer to keep this patch as simple as possible. Furthermore, I really do not like the idea of leaving the gaps between signatures uninitialized.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1900#issuecomment-1022387836
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1900/c1022387836 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220126/46669569/attachment-0001.html>
More information about the Rpm-maint
mailing list