Blender Git Commit Log

Git Commits -> Revision a7f53bc

Revision a7f53bc by Sergey Sharybin (master)
November 7, 2016, 10:04 (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: a7f53bc5123fcc2fef8f31424aeb7fdd9aaccaa9
Parent Commit: f64548d
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021