I'm using one function and trying to figure out how to get more performance out of this module. I figure everything is loaded in ram (perl/Math::CDF/DCDFLIB) after the 'use Math::CDF' statement.
1. Does anybody know how much performance cost their is with perl contacting a c library versus running the logic directly in perl?
2. Are there any tricks to getting better performance in a general case where you are calling the same function many times?