Leonardo: Without examining the commit directly it would be hard to determine whether there is a performance advantage gained from using a type- overloaded function. That's generally not when the switch is made.
However, for more complicated methods/functions, there are generally a maintenance advantage by moving to type overloaded functions, as the logic is expressed once and each type can make use of the functionality. Changes can be made in one place with little (if any) fear of missing a type. MJ On Tue, 2025-10-28 at 18:33 +0100, Leonardo Boselli via Exim-users wrote: > On Tue, 28 Oct 2025, Jeremy Harris via Exim-users wrote: > > Relevant commit: 7b4e2a15a529 :- > > "Use a C11 _Generic to get a type-overloaded function" > > what is the _performance_ advantage on using a type overloaded > function > over specialized ones ? > > -- > Leonardo Boselli > Firenze, Toscana, Europa > http://i.trail.it > -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
