PagedGrowableWriter
A PagedGrowableWriter. This class slices data into fixed-size blocks which have independent numbers of bits per value and grow on-demand.
You should use this class instead of the PackedLongValues related ones only when you need random write-access. Otherwise this class will likely be slower and less memory-efficient.
Constructors
Link copied to clipboard
Create a new PagedGrowableWriter instance.
Properties
Functions
Link copied to clipboard
Similar to ArrayUtil.grow.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return the memory usage of this object in bytes. Negative values are illegal.
Link copied to clipboard
Create a new copy of size newSize based on the content of this buffer. This method is much more efficient than creating a new instance and copying values one by one.