Skip to content

Commit

Permalink
Add a deprecation message. This library is no longer better than the …
Browse files Browse the repository at this point in the history
…included CRC32C implementation in PHP.
  • Loading branch information
bramp committed Apr 16, 2023
1 parent 8868649 commit ec418f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -4,6 +4,8 @@

by [Andrew Brampton](https://bramp.net)

**Deprecated**: Since PHP 8.0, the crc32 algorithms within PHP are using [hardware accelerated instructions](https://github.com/php/php-src/commit/c3299d7dab15aeed52a34535f1967d426f5327de), and are surprisingly fast. Thus this extension is not needed anymore!

CRC32 implementations, that support all crc32 polynomials, as well as (if you
install the pecl extension) hardware accelerated versions of CRC32C (Castagnoli).

Expand Down

0 comments on commit ec418f3

Please sign in to comment.