Date: Mon, 9 Aug 2021 08:03:35 +0200 From: Olivier Galibert <galibert@...ox.com> To: Rich Felker <dalias@...c.org> Cc: Jon Chesterfield <jonathanchesterfield@...il.com>, musl@...ts.openwall.com Subject: Re: [PATCH] stdlib: implement qsort_r Yeah, the wrapper_cmp version looks rather good, I didn’t realize it would go down to one instruction. Or that an old patch would have been stalled for five months ;-) OG Le lun. 9 août 2021 à 01:05, Rich Felker <dalias@...c.org> a écrit : > On Sun, Aug 08, 2021 at 10:21:06PM +0100, Jon Chesterfield wrote: > > On Sun, Aug 8, 2021 at 9:39 PM Érico Nogueira <ericonr@...root.org> > wrote: > > > > > This is the favored approach, from what I understood of the discussions > > > surrounding it. It's implemented with musl's namespacing rules and such > > > in . > > > > > > > Unsurprisingly I like your patch. > > > > > > > > It is badly optimized for some archs, unfortunately, as explained in > the > > > thread from . I believe that's what's holding it up. > > > > > >  > > > > https://email@example.com/ > > >  > > > > https://inbox.vuxu.org/musl/20210309150320.GU32655@brightrain.aerifal.cx/ > > > > > > And that's what I get for not reading the list carefully enough. I missed > > the thread > > from March entirely. > > No problem. Indeed, this was stalled because of concerns about bad > compiler behavior on some archs, but I really don't want to allow that > to dictate how we solve the problem. The compiler is doing the wrong > thing (failing to tail call) and should just be fixed. I'll probably > merge the tail-call patch as-is, or with any minimal fixes needed, > right after this release so as not to make major API changes at last > minute. > > Rich > Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.