Skip to content

[pull] master from fast-pack:master - #15

Merged
pull[bot] merged 8 commits into
AKJUS:masterfrom
fast-pack:master
Jun 23, 2026
Merged

pull[bot] merged 8 commits into
AKJUS:masterfrom
fast-pack:master

Conversation

@pull

@pull pull Bot commented Jun 23, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

raunaqmorarka and others added 8 commits June 22, 2026 11:53
slowpack OR-accumulates into the output, so a reused buffer kept stale
bits. Zero the target words first.
Introduce a VectorBitPackerKernels interface with a 128-lane
VectorBitPacker128 for Arm NEON and other 128-bit hardware, alongside
the existing 512-bit kernel. A LaneWidth enum selects the encode kernel
from the preferred vector width and tags each stream; decode dispatches
to the tagging width's kernel and fails loud when the host runs only
narrower lanes natively. slowpack/slowunpack move into VectorFastPFOR.

Decode speedup over the scalar FastPFOR codec:
  Graviton2 (Neoverse N1, NEON 128): 2.0-2.9x (~2.7x), encode ~15% faster
  Graviton4 (Neoverse V2, SVE 128): 2.3-4.1x (~3.0x), encode ~8% faster
Add VectorBitPacker256 (AVX2, 256-bit SVE) and register it in the
LaneWidth enum, so 256-bit hosts pack natively instead of stepping down
to the 128-bit kernel.

Decode speedup over the scalar FastPFOR codec:
  Graviton3 (SVE 256): 2.8-4.5x (~3.4x), encode ~13% faster
  AMD EPYC Zen 1 (AVX2 256): 2.4-3.1x (~2.8x), encode ~15% faster
Declare jdk.incubator.vector as requires static so scalar consumers
resolve the module without --add-modules; only VectorFastPFOR users need it.
SkippableBasicTest exercises maxHeadlessCompressedLength, so implement it
(mirroring FastPFOR) rather than throwing.
Hardware-portable Vector API bit-packing for VectorFastPFOR
@pull pull Bot locked and limited conversation to collaborators Jun 23, 2026
@pull pull Bot added the ⤵️ pull label Jun 23, 2026
@pull
pull Bot merged commit acc89e2 into AKJUS:master Jun 23, 2026
1 check failed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants