Hawkynt

Suffix Tree Compression

Advanced lossless compression using suffix tree construction and longest common substring analysis. Exploits repetitive structure through efficient substring matching and reference-based encoding with optimal space utilization.

Properties

Property Value
Category Compression Algorithms
Sub-category Suffix Structure
Security status πŸŽ“ Educational Only
Complexity Expert
Inventor Edward McCreight, Esko Ukkonen
Year 1976
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/compression/suffix-tree.js

Security

Status: πŸŽ“ Educational Only

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 input

Field Value
input (empty)
expected 00000000

Vector 2 β€” Repetitive pattern - optimal for suffix tree

Field Value
input 616261626162
expected 06000000000261620402000000

Vector 3 β€” Classic suffix tree example

Field Value
input 62616e616e61
expected 06000000000362616e0302000000

← All algorithms