lumiera_/src
Ichthyostega 95a9ceac35 clean-up: simplify function-closure -- avoiding std::function
A very performance relevant shortcoming of the existing implementation
of partial function closure is that the result is always wrapped into a
std::function, which typically causes a heap allocation when more than
a single pre-bound argument must be stored — which is annoying,
since the underlying Binder provides inline storage and thus
could be handled directly as a value object.

However, returning the Binder directly is also problematic, since
this object is outfitted with several overloaded function call operators,
which defeats most techniques to detect a function signature. Notably,
relevant down-stream metaprogramming code, like the tuple-closure used
in the `NodeBuilder` would break when being confronted directly with
a binder object.

An investigation shows that there is no direct remedy, short of
wrapping the binder into another functor. This can be accomplished
with a helper template, that generates a wrapper; however, this
wrapper builder must be supplied with explicit type information
regarding the function arguments (precisely because this type
signature can not be picked up from the Binder object itself)
2025-06-06 19:44:24 +02:00
..
common Clean-up: remove dummy-player services and interfaces (see #1342) 2025-05-14 01:32:21 +02:00
include Clean-up: remove dummy-player services and interfaces (see #1342) 2025-05-14 01:32:21 +02:00
lib clean-up: simplify function-closure -- avoiding std::function 2025-06-06 19:44:24 +02:00
lumiera Clean-up: remove dummy-player services and interfaces (see #1342) 2025-05-14 01:32:21 +02:00
plugin
stage clean-up: simplify function-closure -- rebuild the 'bind' case 2025-06-05 03:19:03 +02:00
steam clean-up: simplify function-closure -- eliminate the 'apply' case 2025-06-05 01:18:59 +02:00
tool Upgrade: allow for build on »Trixie« with GCC-14 2025-04-06 18:18:52 +02:00
vault clean-up: dismantle the low-level time handling library (see #1259) 2025-05-29 02:04:36 +02:00
.gitignore
DIR_INFO
doxygen.dox Upgrade: improve Doxygen parameters and treat some warnings 2025-04-27 05:00:14 +02:00
SConscript Global-Layer-Renaming: fix handling of GuiResources in the build 2018-11-16 18:18:33 +01:00