b54398c16cfee14a054e2c3ec82d091b34c79a34
Some fields reference attributes directly. When the referenced attribute has the requested type and domain, the captured/stored attribute can share its array, avoiding the cost of duplication and reducing memory usage, at least temporarily until either attribute is modified. This only works when the attribute doesn't need validation and when the selection input isn't used, since those potentially need to change values in the arrays. I saw this save 200MB and 11 ms of copying for a simple grid with 16 million points (creating the grid takes about 60ms). Pull Request: https://projects.blender.org/blender/blender/pulls/107357
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
