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

Pypy Significantly Slower Than Cpython

I've been testing a cacheing system of my making. Its purpose is to speed up a Django web appli… Read more Pypy Significantly Slower Than Cpython

Pyomo Creating A Variable Time Index

I'm trying to bring this constraint in my pyomo model [1 I define a set for indexing over time … Read more Pyomo Creating A Variable Time Index

Python Quicksort - List Comprehension Vs Recursion (partition Routine)

I watched the talk Three Beautiful Quicksorts and was messing around with quicksort. My implementat… Read more Python Quicksort - List Comprehension Vs Recursion (partition Routine)

Optimise Two Sql Queries And A List Comprehension

I have those two models (simplified): class Place(OrderedModel): name = models.CharField(max_le… Read more Optimise Two Sql Queries And A List Comprehension

Optimize Python Code With Basic Libraries

I'm trying to do a non equi self join with basic python on a table that has 1.7 millions rows a… Read more Optimize Python Code With Basic Libraries

Estimate Of Inverse Hessian Using Scipy Minimization

I am using SciPy's 'minimize' function to minimize a function. The function returns the… Read more Estimate Of Inverse Hessian Using Scipy Minimization