[][src]Module bva::auto

This module contains an automatically managed bit vector type. Depending on the required capacity, it might use a fixed capacity implementation to avoid unnecessary dynamic memory allocations, or it might use a dynamic capacity implementation if the capacity of fixed implementations is exceeded.

While avoiding memory allocation might improve performance, there is a slight performance cost due to the dynamic dispatch and extra capacity checks. The net effect will depend on the exact application. It is designed for the case where most bit vector are expected to fit inside fixed capacity implementations but some outliers might not.

Enums

BV

A bit vector with automatic capacity management.