Text::Metaphone was my first real module. I wrote it in 1997, a translation of some really awful and buggy C code from a book into slightly less buggy and awful C code. It got me my first real job, they were impressed at the little bit of C and XS I could do. Because I don't really know XS its had nasty memory leak.
Tonight, after the hackathon, I decided to look into updating my oldest modules. Text::Metaphone was at the top of the list with that damned memory leak. I threw out a pile of h2xs generated junk, detabified and converted the tests to Test::More. Then with all that old garbage out of the way I quickly realized that a string allocated in the C code wasn't getting free'd and plugged the leak. I also eliminated an unnecessary Perl function wrapper around the XS speeding things up by about 2 times.
So here we are, 8 years after the last release, with Text::Metaphone 2.0.
Next: D'oh::Year!
version 2? (Score:2)
Re: (Score:1)
Re: (Score:2)
Most Perl modules never even make it to version 1.00, not even after years and lots of heavy use. Win32::API for example.
Re: (Score:2)
Re: (Score:1)
So the doubled performance and code cleanups don’t do it for you?
And in any case, why would you care? Are you a heavy user of Text::Metaphone or something?
Re: (Score:2)
Now, as to why I decided this release is version 2.00 can be found in the Changes log.
1.00 would have been what I considered the "stable" Perl version but I decided to rewrite everything so I jumped over 1.00 directly to 1.9x to symbolize the big change leading up to a "stable" XS version