![]() |
Home | Libraries | People | FAQ | More |
boost::container::block_size
// In header: <boost/container/options.hpp> template<std::size_t BlockSize> struct block_size { };
This option specifies the size of a block, delimites the number of contiguous elements (BlockSize) that will be allocated by segmented containers. For some containers (like deque/segtor), a power of two value can improve performance. A value zero represents the default value.
If BlockSize is very small, the implementation might use a bigger block.