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

2024-05-23 Thread Panu Matilainen
Merged #3119 into master.

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

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2024-05-22 Thread Panu Matilainen
@pmatilai pushed 2 commits.

ac97ea7655476f45e20fe8f73c2b008cc6cb91ff  Convert a local array to vector in 
markReplacedFiles()
fc259230aa930846e773898d4db90874a7c550bd  Convert triggers run tracking from 
local array to vector

-- 
View it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3119/files/1a5d530720564a49931ce284f3a934961082119b..fc259230aa930846e773898d4db90874a7c550bd
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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

2024-05-22 Thread Panu Matilainen
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, its 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/3...@github.com
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint