Blender Git Loki
Git Commits -> Revision 096856a
Revision 096856a by Jacques Lucke (builtin-simulation-nodes, functions, particle-solver-dev, simulation-tree) February 23, 2020, 16:35 (GMT) |
new LinearAllocatedVector<T> This is a vector that does not own the memory its elements are stored in. Instead, a linear allocator is passed to every call to `append`, that will be used if the vector has to grow. Since a linear allocator does not support deallocation, no memory is dealloced until the linear allocator is destructed. This structure can be used when many small vectors of initially unknown size are required. |
Commit Details:
Full Hash: 096856a700b795ac3ffb0a6d86317fd0c57b2a11
Parent Commit: beed795
Lines Changed: +231, -0
1 Added Path:
/source/blender/blenlib/BLI_linear_allocated_vector.h (+230, -0) (View)
1 Modified Path:
/source/blender/blenlib/CMakeLists.txt (+1, -0) (Diff)