in reply to calling perl from C [performance optimization]
Also, as FAQ says, use Inline::C; from CPAN should fit, it will give you a breakthrough speed boost with a little efforts.