tornavis/source/blender/functions/tests
Jacques Lucke 01b6c4b32b Functions: make multi functions smaller and cheaper to construct in many cases
Previously, the signature of a `MultiFunction` was always embedded into the function.
There are two issues with that. First, `MFSignature` is relatively large, because it contains
multiple strings and vectors. Secondly, constructing it can add overhead that should not
be necessary, because often the same signature can be reused.

The solution is to only keep a pointer to a signature in `MultiFunction` that is set during
construction. Child classes are responsible for making sure that the signature lives
long enough. In most cases, the signature is either embedded into the child class or
it is allocated statically (and is only created once).
2021-03-22 12:01:07 +01:00
..
FN_cpp_type_test.cc Functions: move CPPType creation related code to separate header 2021-03-21 15:33:30 +01:00
FN_generic_span_test.cc Functions: refactor virtual array data structures 2021-03-21 19:33:13 +01:00
FN_generic_vector_array_test.cc Functions: refactor virtual array data structures 2021-03-21 19:33:13 +01:00
FN_multi_function_network_test.cc Functions: make multi functions smaller and cheaper to construct in many cases 2021-03-22 12:01:07 +01:00
FN_multi_function_test.cc Functions: make multi functions smaller and cheaper to construct in many cases 2021-03-22 12:01:07 +01:00