Making Python Programs Blazingly Fast

Let’s look at performance of our Python programs and see how to make them up to 30% faster! Read more

Similar

Faster Python with Go shared objects

There's no two ways about it, Python is slow. I felt this in particular when exploring how to sanitize potentially malicious HTML content in the CTFd content editor. The two options for sanitizing/processing HTML in Python both have some tradeoffs: Poorl... (more…)

Read more »

Constant Folding in Python

Every programming language aims to be performant and Python is no exception. In this essay, we dive deep into Python internals and find out how Python makes its interpreter performant using a technique called Constant Folding. (more…)

Read more »