dc762d09141ee7b71d813f019607186385cbe82e
For example, copying and moving a trivial type ends is the same. However, currently we generate the code for both cases independently instead of reusing the same underlying function. This reduces the size of the Blender binary from `218.548.896` to `218.355.552` bytes for me. So it's a reduction of about 200kb. It's probably possible to reduce this even more, but that's for another day. The main tricky thing here is telling the compiler that a `const` from a function parameter can be cast away for trivial types (see code comment). Maybe there is a better way to do this while making sure the compiler doesn't generate unnecessary code. Pull Request: https://projects.blender.org/blender/blender/pulls/119601
…
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%
