Pavlos Kallis

A Blog About Software Development

Welcome to my blog. Subscribe and get my latest blog post in your inbox.
Improving performance of OR statements in Python

When you have an expression a() OR b() in python, if a() is a lot slower than b(), it is better

to change the condition to b() OR a(). The statement is exactly the same as a() or b() i

Read more →