Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Add support for CRC-32/ISO-HDLC (aka crc32)#1

Merged
onethumb merged 3 commits intomainfrom
add-crc32fast
Dec 27, 2024
Merged

Add support for CRC-32/ISO-HDLC (aka crc32)#1
onethumb merged 3 commits intomainfrom
add-crc32fast

Conversation

@onethumb
Copy link
Contributor

The Problem

We'd like to use CRC-32/ISO-HDLC (aka 'crc32') at SIMD-accelerated rates, too, not just CRC-64/NVME](https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-64-nvme).

The Solution

Leverage the crc32fast-lib C-compatible shared Rust library to accelerate CRC32 computation >10X.

Changes

  • Adds CRC-32/ISO-HDLC support.

Supports CRC-32/ISO-HDLC (aka “crc32”) via FFI using the crc32fast Rust
library for a >10X performance increase over PHP’s native crc32()
implementation.
@onethumb onethumb merged commit 5b1de20 into main Dec 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant