September 2015
Intermediate to advanced
260 pages
5h 2m
English
The tips mentioned earlier are some of the most common techniques to optimize a program. Some of them are Python specific (such as string concatenation or using ctypes) and others are more generic (such as memoization and lookup tables).
There are still a few more minor tips and tricks specific to Python, which we will cover here. They might not yield a significant boost of speed, but they will shed some more light into the inner workings of the language:
list), something such as "a in b", we would have better results using sets and dictionaries (with a lookup time of O(1) ...Read now
Unlock full access