Skip to content Skip to sidebar Skip to footer
Showing posts with the label Performance

How Much Overhead Do Decorators Add To Python Function Calls

I've been playing around with a timing decorator for my pylons app to provide on the fly timing… Read more How Much Overhead Do Decorators Add To Python Function Calls

What Is The Time Complexity Of .at And .loc In Pandas?

I'm looking for the time complexity of these methods as a function of the number of rows in a d… Read more What Is The Time Complexity Of .at And .loc In Pandas?

Optimize This Function With Numpy (or Other Vectorization Methods)

I am computing with Python a classic calculation in the field of population genetics. I am well awa… Read more Optimize This Function With Numpy (or Other Vectorization Methods)

Slow Len Function On Dask Distributed Dataframe

I have been testing how to use dask (cluster with 20 cores) and I am surprised by the speed that I … Read more Slow Len Function On Dask Distributed Dataframe

Speed Up Comparison Of Floats Between Lists

I have a block of code which does the following: take a float from a list, b_lst below, of index i… Read more Speed Up Comparison Of Floats Between Lists

Why Is Piping Output Of Subprocess So Unreliable With Python?

(Windows) I wrote some Python code that calls the program SoX (subprocess module), which outputs th… Read more Why Is Piping Output Of Subprocess So Unreliable With Python?