Function log_capacity

Source
pub fn log_capacity(table_size: usize) -> usize
Expand description

Returns the binary logarithm of the table capacity required to accommodate the given number of rows.

The table capacity must be a power of two (in order to be compatible with the multilinear proof system, which associates each table index with a vertex of a boolean hypercube). This is be the next power of two greater than the table size.