Used for returning information about the internal state of the StableDynamicArray. More...
#include <StableDynamicArray.h>
Public Attributes | |
AZStd::vector< size_t > | m_elementsPerPage |
size_t | m_totalElements = 0 |
size_t | m_emptyPages = 0 |
float | m_itemToPageRatio = 0.0f |
Used for returning information about the internal state of the StableDynamicArray.
float AZ::StableDynamicArrayMetrics::m_itemToPageRatio = 0.0f |
1.0 = there are no more pages then there needs to be, 0.5 means there are twice as many pages as needed etc. This can be used to help decide if it's worth compacting handles into fewer pages.