Class BlockAlignedTailPacker
- java.lang.Object
-
- org.neo4j.gds.core.compression.packed.BlockAlignedTailPacker
-
public final class BlockAlignedTailPacker extends java.lang.Object
Compresses values in blocks ofAdjacencyPacking.BLOCK_SIZE
using bit-packing.If a block to compress has less than
AdjacencyPacking.BLOCK_SIZE
values, this strategy considers the block as full and compresses the 0-values with the bit size for that block.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
compress(AdjacencyListBuilder.Allocator<Address> allocator, AdjacencyListBuilder.Slice<Address> slice, long[] values, int length, org.neo4j.gds.core.Aggregation aggregation, org.apache.commons.lang3.mutable.MutableInt degree)
-
-
-
Method Detail
-
compress
public static long compress(AdjacencyListBuilder.Allocator<Address> allocator, AdjacencyListBuilder.Slice<Address> slice, long[] values, int length, org.neo4j.gds.core.Aggregation aggregation, org.apache.commons.lang3.mutable.MutableInt degree)
-
-