Boosting Python Performance with C Code

I love Python. But it's slow. So I wrote C code to value an option and call it from Python. C helps Python run up to 45X faster. Here's how: Before you ask, yes I know there are better ways to do this. Here's the problem: A lot of quant code is already written in C. So instead of re-writing it from scratch, most quants wrap existing code in Python. Enjoy: https://lnkd.in/gDnfmtGk

Thanks ! A lot to read today 😅

Like
Reply

To view or add a comment, sign in

Explore content categories