Blender Git Loki

Git Commits -> Revision 6146217

Revision 6146217 by Jacques Lucke (master)
April 23, 2020, 10:02 (GMT)
BLI: optimize VectorSet implementation

Instead of building on top of `BLI::Vector`, just use a raw array
and handle the growing in `BLI::VectorSet`.

After this change, the existing `EdgeSet` can be reimplemented using
`BLI::VectorSet` without performance regressions.

Commit Details:

Full Hash: 614621747ea214efc72a095fbef6695bf98a2bb4
Parent Commit: 68cfce1
Lines Changed: +107, -25

4 Modified Paths:

/source/blender/blenlib/BLI_open_addressing.hh (+6, -1) (Diff)
/source/blender/blenlib/BLI_vector.hh (+1, -1) (Diff)
/source/blender/blenlib/BLI_vector_set.hh (+80, -23) (Diff)
/tests/gtests/blenlib/BLI_vector_set_test.cc (+20, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021