diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-03 03:22:10 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-03 03:23:13 +0300 |
commit | 43918ec28d12124cfa32b3e84ead1bfb65501f6f (patch) | |
tree | e895a7a29dae1ca747f370d82c15e0ce4cc447d1 /source/blender/editors/mesh | |
parent | fc1a53eb7b975d831bfb4fa783d52570e90044f7 (diff) |
Geometry Nodes: Speed up reading attribute with different type
The virtual array created by the implicit conversions had a lot of
overhead when converting many values. Implement "materialize"
functions to avoid a virtual function call for every element.
This gave me a 20x improvement when copying the values
from a float attribute as a boolean, though I doubt there are
any real world situations where it's that noticible.
Diffstat (limited to 'source/blender/editors/mesh')
0 files changed, 0 insertions, 0 deletions