rename to DEFAULT_CAPACITY_POW2
This commit is contained in:
committed by
Jeff Washington (jwash)
parent
f6a5bf71ce
commit
ac58a5d3e6
@ -48,7 +48,7 @@ pub struct BucketMapStats {
|
|||||||
24 16,777,216
|
24 16,777,216
|
||||||
*/
|
*/
|
||||||
// bytes = 2^DEFAULT_CAPACITY
|
// bytes = 2^DEFAULT_CAPACITY
|
||||||
const DEFAULT_CAPACITY: u8 = 5;
|
const DEFAULT_CAPACITY_POW2: u8 = 5;
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
struct Header {
|
struct Header {
|
||||||
@ -137,7 +137,7 @@ impl DataBucket {
|
|||||||
drives,
|
drives,
|
||||||
num_elems,
|
num_elems,
|
||||||
elem_size,
|
elem_size,
|
||||||
DEFAULT_CAPACITY,
|
DEFAULT_CAPACITY_POW2,
|
||||||
max_search,
|
max_search,
|
||||||
stats,
|
stats,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user