4 Mar
2026
4 Mar
'26
9:06 a.m.
On Wed Mar 4 08:53:12 2026 +0000, Rémi Bernon wrote:
Why not use bsearch as we already have everything we need from qsort? Well, to reuse the same search function (after deleting the assert) we'll need to define and fill name in context_attribute_desc for the key. And while saving about ~5 lines we will loose the comparison inlining in favour of calls to comparison function from bsearch(). If you feel like that is still better, I can change that.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10241#note_131268