On 11Jul2019 1032, Jeroen Demeyer wrote:
On 2019-07-11 07:19, Steve Dower wrote: >> I would also appreciate if we included more than just gcc as the
benchmark for "what compilers do". Adding clang would satisfy me, though of course I'd be happiest if MSVC was also tested.
Some days ago I tested C varargs functions in general and Clang was worse than GCC. I haven't tested MSVC.
Thanks, good to know.
In general, I prefer to not expand even the internal C API unless there's a significant benefit, and the burden of proof is on those who are proposing the expansion.
What's "significant"? This is really hard to define, something that is significant for one use case may be completely irrelevant for another use case.
Proving that the use case is significant is a very good start (where use case means "real world scenario" rather than "micro-benchmark"). Otherwise, we have to discuss complexity and maintainability versus general performance improvement. But if there's a clear benefit for a scenario that matters to users, that makes any improvement more compelling.