[Rpm-maint] [rpm-software-management/rpm] Another bunch of STL conversions (PR #3119)

Panu Matilainen notifications at github.com
Wed May 22 09:26:30 UTC 2024


This time including string usages that speed up json and xml query formatting enormously.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use STL string for header query formatting internal buffer
  * Take advantage of STL string for tag name formatting in queryformat
  * Use STL string for json escaping, speeds it up like 20x
  * Use STL string for xml escaping too, it's a huge speedup
  * Replace manual allocations with vectors in skipInstallFiles()

-- File Changes --

    M lib/formats.c (68)
    M lib/headerfmt.c (107)
    M lib/transaction.c (14)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3119 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240522/5ba97a04/attachment-0001.html>


More information about the Rpm-maint mailing list