-
- Downloads
BLI: generally improve C++ data structures
The main focus here was to improve the docs significantly. Furthermore, I reimplemented `Set`, `Map` and `VectorSet`. They are now (usually) faster, simpler and more customizable. I also rewrote `Stack` to make it more efficient by avoiding unnecessary copies. Thanks to everyone who helped with constructive feedback. Approved by brecht and sybren. Differential Revision: https://developer.blender.org/D7931
Showing
- .clang-format 4 additions, 0 deletions.clang-format
- source/blender/blenlib/BLI_allocator.hh 22 additions, 23 deletionssource/blender/blenlib/BLI_allocator.hh
- source/blender/blenlib/BLI_array.hh 132 additions, 26 deletionssource/blender/blenlib/BLI_array.hh
- source/blender/blenlib/BLI_array_ref.hh 157 additions, 82 deletionssource/blender/blenlib/BLI_array_ref.hh
- source/blender/blenlib/BLI_dot_export.hh 1 addition, 2 deletionssource/blender/blenlib/BLI_dot_export.hh
- source/blender/blenlib/BLI_hash.hh 93 additions, 14 deletionssource/blender/blenlib/BLI_hash.hh
- source/blender/blenlib/BLI_hash_tables.hh 350 additions, 0 deletionssource/blender/blenlib/BLI_hash_tables.hh
- source/blender/blenlib/BLI_index_range.hh 34 additions, 4 deletionssource/blender/blenlib/BLI_index_range.hh
- source/blender/blenlib/BLI_linear_allocator.hh 3 additions, 3 deletionssource/blender/blenlib/BLI_linear_allocator.hh
- source/blender/blenlib/BLI_listbase_wrapper.hh 4 additions, 2 deletionssource/blender/blenlib/BLI_listbase_wrapper.hh
- source/blender/blenlib/BLI_map.hh 847 additions, 442 deletionssource/blender/blenlib/BLI_map.hh
- source/blender/blenlib/BLI_map_slots.hh 361 additions, 0 deletionssource/blender/blenlib/BLI_map_slots.hh
- source/blender/blenlib/BLI_math_bits.h 1 addition, 0 deletionssource/blender/blenlib/BLI_math_bits.h
- source/blender/blenlib/BLI_memory_utils.hh 160 additions, 29 deletionssource/blender/blenlib/BLI_memory_utils.hh
- source/blender/blenlib/BLI_open_addressing.hh 0 additions, 316 deletionssource/blender/blenlib/BLI_open_addressing.hh
- source/blender/blenlib/BLI_optional.hh 0 additions, 10 deletionssource/blender/blenlib/BLI_optional.hh
- source/blender/blenlib/BLI_probing_strategies.hh 250 additions, 0 deletionssource/blender/blenlib/BLI_probing_strategies.hh
- source/blender/blenlib/BLI_set.hh 574 additions, 298 deletionssource/blender/blenlib/BLI_set.hh
- source/blender/blenlib/BLI_set_slots.hh 415 additions, 0 deletionssource/blender/blenlib/BLI_set_slots.hh
- source/blender/blenlib/BLI_stack.hh 292 additions, 53 deletionssource/blender/blenlib/BLI_stack.hh
Loading
Please register or sign in to comment