On 09.07.24 11:16, Stuart Henderson wrote:
On 2024-07-09, Christian Schulte <[email protected]> wrote:For example: Just remove the patches in this directory - well a lot of them - and see how those GNU folks have turned into complete idiots. I don't get it. https://github.com/openbsd/ports/tree/master/devel/gettext/patchesA lot of those patches are to avoid triggering warnings from ld when linking other programs which use the gettext library due to the api warnings openbsd has for some libc functions.
Of course they do. And there is a reason they do. This goes back to me running i386 instead of amd64 due to RAM constraints and using the gnome desktop environment, which makes heavy use of gettext. gettext authors have just sped up those functions, because they noticed themselves, that they are called way to often. Then those patches removed those speed ups uncovering those design flaws. Of course they noticed this themselves. They never rethought design decisions. Install i386 with a gnome desktop environment. So slow. Rebuild gettext wihtout some of those patches removing those speed ups. There you go. It's so noticeable and it's not those patches to blame. That's what I meant with "avoid hotspots" rather than trying to make them run faster. That's theire philosophy. And that is just wrong.

