Blender Git Loki

Git Commits -> Revision f7f44da

January 20, 2017, 10:36 (GMT)
Depsgraph: Switch away form string to const char* for node names

There is no real reason to have nodes storing heap-allocated name
and description. Doing this increases amount of allocations during
dependency graph building, which usually means somewhat slowness.

We're temporarily loosing some eyecandy in the graphviz visualizer,
but those we can bring back as a part of graphiz dump (which happens
much less often than depsgraph build).

This will happen in multiple commits for the ease of bisect in the
future just in case this causes any regression. This commit contains
ID creation API changes.

Commit Details:

Full Hash: f7f44da43d86874df9ace660e74725c22a1b7e77
Parent Commit: fe53bdf
Lines Changed: +3, -4

3 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+1, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021