Blog |
Forum |
Repository |
Wizard
Jump to letter: [
AMPUXZ
]
php-pecl-ahocorasick - Effective Aho-Corasick string pattern matching algorithm
- Website:
- http://pecl.php.net/package/ahocorasick
- Licence:
- PHP and LGPLv3
- Vendor:
- Remi Collet
- Description:
PHP extension implementing Aho-Corasick pattern matching algorithm.
Is especially effective if there is a large database of needles
(=strings to be searched, for example virus signatures).
Another advantage is that built search structure is initialized
before search in separate call thus it can be called more times
with different haystack, saving time.
Computing Aho-Corasick in th native code (PHP extension) rather than in
a pure PHP manner gives this implementation significant performance boost.
Package built for PHP 5.6.
Packages