[Rpm-maint] [rpm-software-management/rpm] Refactor rpmds internals to use STL vectors and strings instead of C dynamic allocations (PR #3953)

Panu Matilainen notifications at github.com
Thu Sep 18 08:13:36 UTC 2025


Details in commit messages but there isn't all that much to say, this is pretty straightforward refactoring in all.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3953

-- Commit Summary --

  * Refactor rpmds Color array to an STL vector.
  * Refactor rpmds trigger indices to an STL vector
  * Refactor rpmds N, EVR and Flags arrays to STL vectors
  * Simplify rpmdsFilterTi() a bit, no functional changes
  * Refactor rpmdsNewDNEVR() to operate on an STL string internally
  * Refactor rpmds to store DNEVR strings as C++ strings internally
  * Refactor rpmds rich dependency parsing to use C++ strings internally

-- File Changes --

    M lib/rpmds.cc (277)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3953.patch
https://github.com/rpm-software-management/rpm/pull/3953.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3953
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3953 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250918/267b94e4/attachment.htm>


More information about the Rpm-maint mailing list