Blender Git Loki

Git Commits -> Revision 38b973a

August 18, 2019, 14:31 (GMT)
New Map, Set and SetVector implementation

All tests are runnings still, but I need to do more testing in the upcoming days.
This implementation uses a different approach for sharing code between
the different structures. I tried different abstractions in the last weeks
and this is the best one I found so far.

Commit Details:

Full Hash: 38b973a679592b7ebbcf6228f00d62fe295cfe07
Parent Commit: de8a52d
Lines Changed: +1314, -837

2 Added Paths:

/source/blender/blenlib/BLI_hash.hpp (+17, -0) (View)
/source/blender/blenlib/BLI_open_addressing.hpp (+212, -0) (View)

2 Deleted Paths:

/source/blender/blenlib/BLI_array_lookup.hpp (+0, -416)
/tests/gtests/blenlib/BLI_array_lookup_test.cc (+0, -23)

21 Modified Paths:

/.clang-format (+1, -0) (Diff)
/source/blender/blenlib/BLI_map.hpp (+419, -165) (Diff)
/source/blender/blenlib/BLI_math_base.h (+2, -0) (Diff)
/source/blender/blenlib/BLI_multi_map.hpp (+3, -2) (Diff)
/source/blender/blenlib/BLI_set.hpp (+325, -135) (Diff)
/source/blender/blenlib/BLI_set_vector.hpp (+253, -24) (Diff)
/source/blender/blenlib/BLI_vector.hpp (+0, -14) (Diff)
/source/blender/blenlib/CMakeLists.txt (+2, -1) (Diff)
/source/blender/blenlib/intern/math_base_inline.c (+15, -0) (Diff)
/source/blender/functions/core/function_graph.cpp (+1, -1) (Diff)
/source/blender/functions/core/function_graph.hpp (+1, -0) (Diff)
/source/blender/functions/functions/auto_vectorization.cpp (+2, -1) (Diff)
/source/blender/functions/functions/random.cpp (+3, -1) (Diff)
/source/blender/simulations/bparticles/attributes.hpp (+2, -1) (Diff)
/source/blender/simulations/bparticles/c_wrapper.cpp (+3, -2) (Diff)
/source/blender/simulations/bparticles/particles_container.hpp (+7, -1) (Diff)
/tests/gtests/blenlib/BLI_map_test.cc (+7, -17) (Diff)
/tests/gtests/blenlib/BLI_set_test.cc (+15, -8) (Diff)
/tests/gtests/blenlib/BLI_set_vector_test.cc (+24, -3) (Diff)
/tests/gtests/blenlib/BLI_vector_test.cc (+0, -21) (Diff)
/tests/gtests/blenlib/CMakeLists.txt (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021