BucketInfo.Bucket

Information about a non-empty bucket.

Members

Functions

opEquals
equals_t opEquals(Bucket rhs)

Sorting criterium: Makes .sort of an array of this struct sort the elements by .length in descending order.

Variables

index
size_t index;

Bucket index, the index of the bucket in the array of buckets. It is meaningful only if length > 0 so for easier bug detection the initial value is an out-of-range index.

length
size_t length;

Bucket length, the number of elements in the bucket. 0 means that the bucket is empty.

Meta