Files
filament/libs/utils/src
Mathias Agopian 6a2c944bbd A fixed capacity vector.
This is (almost) drop-in replacement for std::vector, the main
difference is that FixedCapacityVector has a fixed (at runtime)
capacity, which makes it a lot more efficient and small for operations
like push_back();

The capacity can be set (and re-set) as usual with reserve(),
but exceeding the capacity when adding items will throw.
The capacity is also set when creating the vector with a size.

In addition a FixedCapacityVector<> instance is only 16 bytes instead
of 24 for std::vector<>.

The aim here is to reduce code bloat.
2021-05-27 15:53:53 -07:00
..
2021-03-15 22:45:31 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2021-05-27 15:53:53 -07:00
2021-03-17 13:44:30 -07:00
2018-12-11 17:44:03 -08:00