Hawkynt

Delta + RLE

Difference-based transform (stores differences between consecutive values) followed by run-length encoding of the delta stream, so unlike the pure delta filter this actually compresses. Effective for data with small variations like audio samples, image gradients, or time series, and for long runs of a constant or steadily-changing value. See ‘Delta Filter’ for the non-compressing, size-preserving variant.

Properties

Property Value
Category Compression Algorithms
Sub-category Transform
Security status Not classified
Complexity Not specified
Inventor Various (general technique)
Year 1950
Origin ❓ Unknown
Source algorithms/compression/delta.js

Security

Status: not classified — treat as unverified.

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 — Empty data test

Source: Edge case test

Field Value
input (empty)
expected (empty)

Vector 2 — Single byte test

Source: Minimal delta test

Field Value
input 41
expected 41

Vector 3 — Incrementing sequence - ideal for delta compression

Field Value
input 0a0c0e10
expected 0aff0302

← All algorithms