Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ethan (3163)

ethan
  reversethis-{ed. ... rap.nov.olissat}

Being a 25-year old chap living in the western-most town of Germany. Stuying communication and information science and being a huge fan of XS-related things.

Journal of ethan (3163)

Sunday February 29, 2004
04:45 PM

Soundex

[ #17685 ]

Being bored, I re-did Text::Soundex as Text::FastSoundex in XS and benchmarked it against
the old perl4-ish Text::Soundex in the Perl distribution. The benchmark result (18x faster) pleased me a lot.

Alas, shortly before uploading it to the CPAN I realized that I was maybe overly smart since the module exists in version 3.02 on the CPAN and Mark Mielke already XSified it. So in the end there is another module of mine that will remain in my private repository forever and the fact that it's between 8% and 23% faster than the most recent CPAN version. A figure that is pointless but at least tickles my vanity a bit. ;-)

PS: And I learnt that one shouldn't write res[0] = toUPPER(*c++) as this and other macros in handy.h evaluate their argument more than once.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.