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
|
||||
*/
|
||||
// bytes = 2^DEFAULT_CAPACITY
|
||||
const DEFAULT_CAPACITY: u8 = 5;
|
||||
const DEFAULT_CAPACITY_POW2: u8 = 5;
|
||||
|
||||
#[repr(C)]
|
||||
struct Header {
|
||||
@ -137,7 +137,7 @@ impl DataBucket {
|
||||
drives,
|
||||
num_elems,
|
||||
elem_size,
|
||||
DEFAULT_CAPACITY,
|
||||
DEFAULT_CAPACITY_POW2,
|
||||
max_search,
|
||||
stats,
|
||||
)
|
||||
|
Reference in New Issue
Block a user