Is Python's C interface faster than JNI?
<p>I was reading <a href="http://stackoverflow.com/q/7699020/165103">What makes JNI calls slow?</a> and I was wondering if Python's C interface is any better than JNI.</p>

<p>I heard that if you want to make certain parts of your python programs faster, or if a certain part of the program was really hurting your program's performance, you write them in C, and make Python call them.</p>

<p>Does the C interface it incur the same costs JNI does? why or why not?</p>
