Skip to content

[WIP] Reduced redundancy of same-sized vectors in Mesh

Christian Mattes requested to merge feature_replace_vectors into master

Replaced std::vectors used to store mesh topology by pointers to arrays + sizes + capacities.

  1. This reduces overhead, because all halfedge-related vectors have the same sizes anyways.

  2. This is a step towards making interfacing with other languages easier, as pointers to this data can be handed out from inside a shared lib, allowing iteration to be implemented inside the respective language, rather than through repeated calls to the shared library.

Merge request reports