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 [https://ctfd.io/] content editor. The two options for sanitizing/processing HTML in Python both have some tradeoffs: 1. Poorly but quickly parse HTML