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

Numexpr Doesn't Recognize Float Type (sparse Matrix)

I would like to evaluate the performance of numexpr module in python (2.7). For that purpose, I cre… Read more Numexpr Doesn't Recognize Float Type (sparse Matrix)

Why Is It Slower To Iterate Over A Small String Than A Small List?

I was playing around with timeit and noticed that doing a simple list comprehension over a small st… Read more Why Is It Slower To Iterate Over A Small String Than A Small List?

Timeout On A Python Function Call Inside Timeit

I have a function, let's call it my_function(*args, **kwargs), that depending on the arguments … Read more Timeout On A Python Function Call Inside Timeit