Re: [PATCH 00/40] Replace various string helpers (and fixes for surrounding code)

2021-02-09 Thread Michal Privoznik
On 2/6/21 9:32 AM, Peter Krempa wrote: This series mainly focuses on removal of virStringListAdd which tries to promote the use of a string list without counter variable as a dynamic array. This means that every operation counts the number of elements and when used in a loop resutls in O(n^2)

[PATCH 00/40] Replace various string helpers (and fixes for surrounding code)

2021-02-06 Thread Peter Krempa
This series mainly focuses on removal of virStringListAdd which tries to promote the use of a string list without counter variable as a dynamic array. This means that every operation counts the number of elements and when used in a loop resutls in O(n^2) algorithms. To discourage it's future