diff options
author | Jacques Lucke <jacques@blender.org> | 2022-04-07 19:48:14 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-04-07 19:48:29 +0300 |
commit | 67c42e7f034aad2564d8cde1a9901d9629527daa (patch) | |
tree | a300c9d16d0a2dd0160e31985c1d803cb53ca593 /build_files/utils | |
parent | 8f344b530a6ed8530ceb780110006af68430c9d5 (diff) |
Functions: optimize simple generated multi-functions
This implements two optimizations:
* Reduce virtual function call overhead when a non-standard virtual
array is used as input.
* Use a lambda in `type_conversion.cc`.
In my test setup, which creates a float attribute filled with the index,
the running time drops from `4.0 ms` to `2.0 ms`.
Differential Revision: https://developer.blender.org/D14585
Diffstat (limited to 'build_files/utils')
0 files changed, 0 insertions, 0 deletions