Pixie
Loading...
Searching...
No Matches
pixie::experimental::PowerOfTwoValueBlock< T, Values > Class Template Reference

Packed unsigned leaf with a power-of-two element capacity. More...

#include <power_of_two_value_block.h>

Inheritance diagram for pixie::experimental::PowerOfTwoValueBlock< T, Values >:

Public Member Functions

 PowerOfTwoValueBlock () noexcept
 Construct empty without initializing unused payload capacity.
 

Detailed Description

template<class T = std::uint64_t, std::size_t Values = 256>
class pixie::experimental::PowerOfTwoValueBlock< T, Values >

Packed unsigned leaf with a power-of-two element capacity.

Uses the shared owning packed block operations. Metadata and cache-line padding are additional to the payload; for 256 uint64_t values the complete block occupies 2112 bytes. Indexed reads return values, copies own independent storage, and local mutations follow the internal block preconditions. This is an experimental SequenceTree block, not a public container.

Template Parameters
TUnsigned integral value type, at most 64 bits.
ValuesPower-of-two capacity whose payload is a multiple of 64 bits.

The documentation for this class was generated from the following file: