|
|
Message-ID: <20260522171307.GW1827@brightrain.aerifal.cx> Date: Fri, 22 May 2026 13:13:07 -0400 From: Rich Felker <dalias@...c.org> To: Justine Tunney <jtunney@...il.com> Cc: musl@...ts.openwall.com Subject: Re: [PATCH] Make qsort 50% faster On Fri, May 22, 2026 at 08:14:18AM -0700, Justine Tunney wrote: > Yes the musl build system passes the -ffreestanding flag which implies > -fno-builtin. So Musl could solve this by simply adding the following > to its Makefile: > > obj/src/stdlib/qsort.lo: src/stdlib/qsort.c $(GENH) $(IMPH) > $(CC) $(filter-out -ffreestanding,$(CFLAGS_ALL)) -c -o $@ $< > > I'm happy to mail out a v2 patch to this list which includes the above > change. Or I could modify the code to just use __builtin_memcpy. I > prefer to not write non-standard source, but it's a feature that's > been available since GCC 3.0 (2001) and is supported by Clang too. No, that would not be an appropriate way to do this. But on a more fundamental level, you are not someone I'm comfortable with having involved in our project. Rich
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.