Defining Mature Optimization
February 11, 2026
This is a short excerpt from the book Django QuerySet Performance, which aims at a positive definition for performance enhancement, in contrast to Knuth’s famous quote.
Counting Sort Performance in Python
September 15, 2025
When studying the field of Sorting Algorithms, many Computer Science courses stop at some very famous ones, like Quicksort and Merge Sort. They are very efficient, performing at O(n log n) time, and can be applied to any data that can be compared. In fact, real-world sorting implementations, like CPython’s Timsort and Powersort are derived from those simpler ones, while adding some pretty advanced techniques.
Cosmic Django
September 12, 2025
After writing this, I was inspired to further explore the applicability of other architecture patterns to Django. That ended up becoming my first book! Django Architecture Patterns is available at: https://a.co/d/baRzank