3 ms·
It reminds me every fast python library is not written in python!
by h8hawk 7y ago
It reminds me every fast python library is not written in python!
- j88439h84 7y agoOr, they're written in pure python and run under PyPy.
- willvarfar 7y ago^ this :) I once solved a performance problem by using the pure-python mysql drivers and pypy, rather than the normal c-wrapped drivers and python. The result was actually faster than a Java version of the same program using the normal JDBC drivers. Something feels deeply wrong with a world where database performance can depend on basic string interpolation performance deep in your client-side mysql drivers... Its soul-destroying to see a naive 'safe' parameterization code coming up hottest in Java profiling results.
- AndrewOMartin 7y agoFor many users, the important language is the one you use to interface with the language, not the language the library was written in. :) Not contradicting your point, btw.