[Rpm-maint] [rpm-software-management/rpm] Implement a native C++ macro API + use it to replace manual macro locking (PR #3408)
Panu Matilainen
notifications at github.com
Tue Oct 29 09:49:53 UTC 2024
Got carried away enough that I forgot to explain a key benefit:
This gives the caller the ability to control locking, so if you need to do 1000 expands in a loop you no longer need to go through lock+unlock cycles for each as it is with the C versions. Gaining those benefits of course requires changing callers to the new API, I've only converted a couple of calls here for examples and to provide tests for the string/vector variants.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3408#issuecomment-2443736385
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3408/c2443736385 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241029/617d032b/attachment.html>
More information about the Rpm-maint
mailing list