Giampaolo Tomassoni writes: > > > > Recently in the perl "blead" code, one of the perl hackers has > > > > added a trie-based regexp matcher (with Aho-Corasick > > > > optimisations) to efficiently match multiple regular expressions > > > > in parallel, to the perl core regexp matching code. That's pretty > > > > much what you're describing, > > Just to know, do you mean this? > > http://search.cpan.org/~dankogai/Regexp-Trie-0.02/lib/Regexp/Trie.pm > > Else, what's the perl "blead" code?
"Blead" is what the perl developers call the main development branch of perl5, which you can rsync "live" from the perl perforce server; cf: http://www.opensubscriber.com/message/dev@spamassassin.apache.org/712879.html see also: http://taint.org/tag/tries , http://taint.org/tag/aho-corasick You were also asking: > > That's not even mentioning the metaprogramming and higher-order > > programming techniques that we use extensively in SpamAssassin -- those > > are basically *just not possible* in C/C++. ;) > > Ops. What's this stuff? Let me know. http://en.wikipedia.org/wiki/Metaprogramming http://en.wikipedia.org/wiki/Higher-order_programming http://hop.perl.plover.com/ (which I haven't actually read yet to be quite honest ;) --j.