Blender Git Commit Log
Git Commits -> Revision a34761a
Revision a34761a by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) May 28, 2019, 10:11 (GMT) |
Reduce wasted space in Function class This is achieved by storing strings in a single buffer instead of using `std::string`, which does small object optimization for every string individually. This optimization can be done because all strings are known when the function is build and don't change later on. |
Commit Details:
Full Hash: a34761afc03c1866928695c403b6b725615b6788
Parent Commit: 5c72fb6
Lines Changed: +138, -18
2 Added Paths:
/source/blender/blenlib/BLI_chained_strings.hpp (+57, -0) (View)
/tests/gtests/blenlib/BLI_chained_strings_test.cc (+46, -0) (View)
/tests/gtests/blenlib/BLI_chained_strings_test.cc (+46, -0) (View)