Python -O won’t magically make every script faster, but in the right workloads it’s a free win—here’s how to test it safely.
I just wrote a bit of Python to generate some reports from the contents of a database. The one program that was more than just "display the data" was the one to print the transaction log. It included ...