On 8/31/16 5:03 PM, Tim wrote: > Python tends to be *very* fast. > > Right up until you try to interact with a C/C++ library.
Interesting. I was briefly thinking that this would be the solution to many performance issues: Start feeding responsibilities over to components in C/C++. > Basically, any time Python executes native libraries (e.g. sqlite, > libssl, whatever) to do something, there's a big performance hit on > that one transaction. Because I am doing much operating systems work at the shell, this may be "most of what I do". :( Note that often lua is chosen in close-to-the-OS situations. > Have you looked at the Python profilers? This may require you to run > the process again under the profiler (can't attach to a running > process, AFAIK), but it's an option. Obviously I haven't. As in: https://docs.python.org/2/library/profile.html ? Thanks! Michael _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
