Go to file
Sergey Sharybin 1862fbf203 Cycles: Optimize memory usage when creating mesh attributes
The idea behind the change is to pre-allocate attribute arrays in advance,
which avoids re-allocation of arrays later for each of meshes being handled.

This reduces peak memory used by Cycles database from 1.3G to 0.9G for
victor.blend from Gooseberry.

It doesn't mean every file will benefit from this change since peak memory
usage is happening in the different places of the rendering code.

Also, unfortunately, attributes export might not cause the peak of render
preparation stage. That said, it's actually object_to_mesh() which causes
the memory to peak in the same test file. So we really need to optimize that
part first in order to get visible results for artists. But in any case it's
now quite easy to track hotspots in Cycles itself which is good.
2015-02-15 02:01:48 +05:00
build_files CMake: Add search path for jemalloc which corresponds to own and studio setup 2015-02-14 12:29:48 +05:00
doc Typo fix + clarification in mathutils.Vector example 2015-02-10 21:25:01 +01:00
extern cleanup: shebang lines 2015-01-29 15:56:23 +11:00
intern Cycles: Optimize memory usage when creating mesh attributes 2015-02-15 02:01:48 +05:00
release cleanup 2015-02-13 16:17:00 +11:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source Outliner: Toggle restrict buttons only for selectable child objects 2015-02-14 21:54:31 +01:00
tests Refactor array_utils out of BLI_array 2015-02-14 08:00:41 +11:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt CMake: Enable JeMalloc by default 2015-02-14 15:13:48 +05:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Force phony targets to build (even if file exists) 2014-12-20 02:15:14 +01:00
SConstruct Viewport compositing - first code 2015-02-12 18:54:41 +01:00