On Tue, Dec 07, 2021 at 07:37:15AM -0800, Jakub Kicinski wrote:
CAUTION: External E-Mail - Use caution with links and attachments
On Mon, 6 Dec 2021 21:12:33 -0700 David Ahern wrote:
quoted
The need to walk the list twice (3 really with the sort) to means the
array solution is better.
Technically the linear walk will be dwarfed by the sort for non-trivial
inputs (have I been conducting too many coding interviews?)
Especially with retpolines :(
quoted
I liked the array variant better. Jakub?
I always default to attr-per-member unless there is a strong constraint
on message size. Trying to extend old school netlink (TC etc) left me
scarred. But we can do array, no big deal.
Thanks, I'll send a new patch with array API and all previous comments