Optimizing the speed of data access using foreach_()
The Python language used in the Blender API is very loyal and undemanding when it comes to data typing. However, when working with large amounts of data, the universalization of type conversion can negatively affect the speed of the code. For example, the simplest foreach_get() cycle, which takes data from a set of elements and puts it into an array, can be significantly speeded up simply by choosing the right type of the destination array data.
Read more: https://b3d.interplanety.org/en/optimizing-the-speed-of-data-access-using-foreach_/
Комментарии
Отправить комментарий