ecl/src/doc/manual
Marius Gerbershagen dc286efb66 cmp: faster function calls for C compatible variadic dispatch
For C compatible variadic dispatch, the compiler now generates two
entrypoints for variadic functions. An entrypoint with specialized
signature that is used for direct C calls from the same file and an
entrypoint with generic signature that implements the variadic to
variadic dispatch, i.e. checking the number of arguments and then
calling the specialized entrypoint.

This approach is faster than using the wrapper functions in
variadic_dispatch_table. The reasons are threefold: we save a call to
ecl_process_env(), we don't need a call through a function pointer but
instead use a direct call to the specialized entrypoint and we emit
better code to deal with required arguments since the number of those
are known.

Moreover, for functions with optional arguments the new approach is
less stack hungry since we can allocate an array of size smaller than
ECL_C_ARGUMENTS_LIMIT to store the arguments.
2024-03-24 18:08:34 +01:00
..
developer-guide doc: cosmetic fixes 2021-08-16 12:31:57 +08:00
extensions Improve examples in the manual 2024-02-28 11:10:27 -08:00
figures documentation: update history chapter 2020-08-14 15:03:25 +02:00
indexes doc: set new doc as standard documentation 2019-01-03 19:14:28 +01:00
introduction cleanup: update license to lgpl-2.1+ in both headers and text 2024-01-14 12:22:27 +01:00
standards trap-fpe: signal an error when invalid condition is supplied 2022-07-28 21:08:31 +02:00
user-guide cmp: faster function calls for C compatible variadic dispatch 2024-03-24 18:08:34 +01:00
.gitignore doc: set new doc as standard documentation 2019-01-03 19:14:28 +01:00
ecl.css doc: css: use white background for images in dark mode 2021-04-09 16:49:58 +02:00
macros.txi doc: cosmetic improvements 2020-02-07 21:43:11 +01:00
Makefile doc: cosmetic improvements 2020-02-07 21:43:11 +01:00
manual.txi doc: cosmetic improvements 2020-02-07 21:43:11 +01:00
status.org doc: document ext:with-backend 2020-01-27 21:20:51 +01:00