Text-Prefix-XS reviews

RSS | Module Info | Add a review of Text-Prefix-XS

Text-Prefix-XS (0.15)

It uses a very fast algorithm to match an array of possible prefixes to an array of strings.

On the other hand, having examined the source code, it is very messy with lots of dangling unused items like the completely unused structure txs_vtbl or the unevaluated "len" in loops like "for (len;", there is a C function without a declared return value, there are misused Perl internal functions like misuse of "die" or "Newxz", and there are many failed tests due to simple causes like not including necessary files such as

#include <stdint.h>:


The documentation is very patchy, so I would probably rather not use this, regardless of whether it is very fast or not.